-
Notifications
You must be signed in to change notification settings - Fork 86
uiform label
Matthias Görges edited this page Jul 14, 2016
·
5 revisions
The uiform label element shows a label string.
Parameter | Default | Description |
---|---|---|
text | "" | Label string |
size | normal | Label size (normal, small, big) |
wrap | #t | Wrap text if it exceeds element width |
color | White | Font color (from modules/ln_core/color.scm) |
align | center | Text alignment (center, left, right) |
Example 1: Create a right-aligned label with text "label"
(label text "label" align right)
Example 2: A complete page definition with labels, shortened from LNhealth's apps/WidgetDemo
(ex_labels
"Labels"
("Prev" ex_textentry #f)
("Next" ex_boxes #f)
(spacer)
(label text "Default text")
(spacer)
(label text "Left aligned text" align left)
(spacer)
(label text "Right aligned text" align right)
(spacer)
(label align left color ,Black size small wrap #t text "Lorem ipsum dolor ...")
(spacer)
(label text "BIG TEXT" size big)
(spacer)
)
-
- accelerometer
- alist
- audio
- audioaux
- base64
- btle-scan
- camera
- cdb
- cgi
- config
- csv
- curl
- digest
- dmtx
- download
- eventloop
- fcgi
- fft
- generalized-arrays
- gps
- graph
- gyro
- hidapi
- hpdf
- html
- httpsclient
- hybridapp
- json
- lmdb
- ln_core
- ln_glcore
- ln_glgui
- ln_store
- localization
- localization_gui
- localnotification
- magnetometer
- mdns
- mqtt
- mqtt-store
- multitouch
- oauth
- orientation
- p256ecdsa
- png
- portaudio
- pregexp
- pressure
- prime
- pushnotification
- redcap
- rsa
- rtaudio
- rupi
- rotation
- sanestring
- scheduler
- serial
- sets
- settings
- simplexnoise
- sqlite
- ssax
- syntax-case
- timestamp
- ttf
- uiform
- url
- uuid
- vibrate
- videoplayer
- watchdog
- website
- xml
- zip