aboutsummaryrefslogtreecommitdiffstats
path: root/demos/applications/combo/main.c
diff options
context:
space:
mode:
authorJoel Bodenmann <joel@seriouslyembedded.com>2015-11-06 22:47:42 +0100
committerJoel Bodenmann <joel@seriouslyembedded.com>2015-11-06 22:47:42 +0100
commite8a769c3823eef72a9e064d3bf992152ed261ad2 (patch)
tree4372d4c8dfee34bca27e691906a46a713479fcb3 /demos/applications/combo/main.c
parentc2b7e1bd4176795c83c4c6edb5ee94705ef27712 (diff)
downloaduGFX-e8a769c3823eef72a9e064d3bf992152ed261ad2.tar.gz
uGFX-e8a769c3823eef72a9e064d3bf992152ed261ad2.tar.bz2
uGFX-e8a769c3823eef72a9e064d3bf992152ed261ad2.zip
Adding justification parameter to gwinLabelCreate()
Diffstat (limited to 'demos/applications/combo/main.c')
-rw-r--r--demos/applications/combo/main.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/demos/applications/combo/main.c b/demos/applications/combo/main.c
index fba3d851..bf37d242 100644
--- a/demos/applications/combo/main.c
+++ b/demos/applications/combo/main.c
@@ -228,19 +228,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:");