From 32f1ec9b1280522545638afece5de1f2f28eca6c Mon Sep 17 00:00:00 2001 From: Joel Bodenmann Date: Sun, 11 May 2014 16:11:52 +0200 Subject: [PATCH] last try to get this shit right with that damned GWIN demo --- demos/modules/gwin/widgets/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/modules/gwin/widgets/main.c b/demos/modules/gwin/widgets/main.c index cb97814e..69f90285 100644 --- a/demos/modules/gwin/widgets/main.c +++ b/demos/modules/gwin/widgets/main.c @@ -157,7 +157,7 @@ static void createWidgets(void) { // Create the Pages wi.g.show = FALSE; wi.g.x = 5; wi.g.y += 5; - wi.g.width = ScrWidth/2 - 5; wi.g.height = ScrHeight-wi.g.y-5; + wi.g.width = ScrWidth/2 - 10; wi.g.height = ScrHeight-wi.g.y-5; ghPgButtons = gwinContainerCreate(0, &wi, GWIN_CONTAINER_BORDER); ghPgSliders = gwinContainerCreate(0, &wi, GWIN_CONTAINER_BORDER); ghPgCheckboxes = gwinContainerCreate(0, &wi, GWIN_CONTAINER_BORDER);