diff options
author | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-11-06 22:47:42 +0100 |
---|---|---|
committer | Joel Bodenmann <joel@seriouslyembedded.com> | 2015-11-06 22:47:42 +0100 |
commit | e8a769c3823eef72a9e064d3bf992152ed261ad2 (patch) | |
tree | 4372d4c8dfee34bca27e691906a46a713479fcb3 /demos/modules/gwin/widgets | |
parent | c2b7e1bd4176795c83c4c6edb5ee94705ef27712 (diff) | |
download | uGFX-e8a769c3823eef72a9e064d3bf992152ed261ad2.tar.gz uGFX-e8a769c3823eef72a9e064d3bf992152ed261ad2.tar.bz2 uGFX-e8a769c3823eef72a9e064d3bf992152ed261ad2.zip |
Adding justification parameter to gwinLabelCreate()
Diffstat (limited to 'demos/modules/gwin/widgets')
-rw-r--r-- | demos/modules/gwin/widgets/main.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/modules/gwin/widgets/main.c b/demos/modules/gwin/widgets/main.c index 8f5a6329..6f871ce2 100644 --- a/demos/modules/gwin/widgets/main.c +++ b/demos/modules/gwin/widgets/main.c @@ -325,19 +325,19 @@ static void createWidgets(void) { wi.g.parent = ghPgLabels; wi.g.width = pagewidth-10; wi.g.height = LABEL_HEIGHT; wi.g.x = wi.g.y = 5; wi.text = "N/A"; - ghLabelSlider1 = gwinLabelCreate(0, &wi); + ghLabelSlider1 = gwinLabelCreate(0, &wi, justifyLeft); gwinLabelSetAttribute(ghLabelSlider1, 100, "Slider 1:"); wi.g.y += LABEL_HEIGHT + 2; - ghLabelSlider2 = gwinLabelCreate(0, &wi); + ghLabelSlider2 = gwinLabelCreate(0, &wi, justifyLeft); gwinLabelSetAttribute(ghLabelSlider2, 100, "Slider 2:"); wi.g.y += LABEL_HEIGHT + 2; - ghLabelSlider3 = gwinLabelCreate(0, &wi); + ghLabelSlider3 = gwinLabelCreate(0, &wi, justifyLeft); gwinLabelSetAttribute(ghLabelSlider3, 100, "Slider 3:"); wi.g.y += LABEL_HEIGHT + 2; - ghLabelSlider4 = gwinLabelCreate(0, &wi); + ghLabelSlider4 = gwinLabelCreate(0, &wi, justifyLeft); gwinLabelSetAttribute(ghLabelSlider4, 100, "Slider 4:"); wi.g.y += LABEL_HEIGHT + 2; - ghLabelRadio1 = gwinLabelCreate(0, &wi); + ghLabelRadio1 = gwinLabelCreate(0, &wi, justifyLeft); gwinLabelSetAttribute(ghLabelRadio1, 100, "RadioButton 1:"); |