# HG changeset patch # User Olaf Wintermann # Date 1763364423 -3600 # Node ID 6e1485d5451a94c569c3c378aea296b58a30070a # Parent 7e153ce81477d893598a3e6417dbe49c8d1e6c1c fix tabbar resizing (Motif) diff -r 7e153ce81477 -r 6e1485d5451a ui/motif/Grid.c --- a/ui/motif/Grid.c Mon Nov 17 08:05:47 2025 +0100 +++ b/ui/motif/Grid.c Mon Nov 17 08:27:03 2025 +0100 @@ -638,7 +638,7 @@ height = r.size - w->mywidget.rowspacing; } } - + if(width > 0 && height > 0) { XtConfigureWidget(child, x, y, width, height, child->core.border_width); } diff -r 7e153ce81477 -r 6e1485d5451a ui/motif/container.c --- a/ui/motif/container.c Mon Nov 17 08:05:47 2025 +0100 +++ b/ui/motif/container.c Mon Nov 17 08:27:03 2025 +0100 @@ -334,9 +334,10 @@ if(numbuttons == 0) { return; } + width--; int button_width = width / numbuttons; int x = 0; - + CxIterator i = cxListIterator(tabview->tabs); cx_foreach(UiTab *, tab, i) { if(i.index + 1 == numbuttons) {