From e8a769c3823eef72a9e064d3bf992152ed261ad2 Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Fri, 6 Nov 2015 22:47:42 +0100 Subject: Adding justification parameter to gwinLabelCreate() --- demos/applications/combo/main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'demos/applications/combo/main.c') 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:"); -- cgit v1.2.3