ui/motif/container.c

changeset 900
6e1485d5451a
parent 888
1bb3a6641857
child 901
884d70e847a3
--- 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) {

mercurial