diff -r d56175dd931e -r 5223de7979e2 ui/motif/container.c --- a/ui/motif/container.c Wed Aug 19 12:28:22 2015 +0200 +++ b/ui/motif/container.c Thu Aug 20 17:14:27 2015 +0200 @@ -481,7 +481,6 @@ int height = 0; XtVaGetValues(widget, XmNwidth, &width, XmNheight, &height, NULL); int button_width = width / 4; - int button_height = 0; int x = 0; UCX_FOREACH(elm, v->tabs) { UiTab *tab = elm->data; @@ -491,14 +490,13 @@ XmNy, 0, XmNwidth, button_width, - XmNheight, - v->height, + NULL); x += button_width; } if(height <= v->height) { - XtVaSetValues(widget, XmNheight, v->height + (v->height/7), NULL); + XtVaSetValues(widget, XmNheight, v->height + 4, NULL); } } @@ -638,6 +636,7 @@ XmNheight, &v->height, NULL); + v->height += 2; // border } ui_change_tab(v, tab);