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/list | |
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/list')
-rw-r--r-- | demos/modules/gwin/list/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/modules/gwin/list/main.c b/demos/modules/gwin/list/main.c index 0102f276..ad999aa2 100644 --- a/demos/modules/gwin/list/main.c +++ b/demos/modules/gwin/list/main.c @@ -43,12 +43,12 @@ static void createWidgets(void) { // Create the label for the first list wi.g.width = 150; wi.g.height = 20; wi.g.x = 10, wi.g.y = 80; wi.text = "List 1: Default"; - ghLabel1 = gwinLabelCreate(0, &wi); + ghLabel1 = gwinLabelCreate(0, &wi, justifyCenter); // Create the label for the second list wi.g.width = 150; wi.g.height = 20; wi.g.x = 165, wi.g.y = 80; wi.text = "List 2: Smooth scrolling"; - ghLabel1 = gwinLabelCreate(0, &wi); + ghLabel1 = gwinLabelCreate(0, &wi, justifyCenter); // The first list widget wi.g.width = 150; |