diff src/uicmd.cc @ 2052:89af8495455f

remove use of Fl_Pack to avoid resizing issues CustGroup is split into CustGroupHorizontal and CustGroupVertical. CustGroupVertical is then used to replace Fl_Pack for TopGroup.
author Johannes Hofmann <Johannes.Hofmann@gmx.de>
date Thu, 26 May 2011 21:12:33 +0200
parents 47c0550792b2
children 416d99f6eb81
line wrap: on
line diff
--- a/src/uicmd.cc	Thu May 26 15:29:22 2011 +0000
+++ b/src/uicmd.cc	Thu May 26 21:12:33 2011 +0200
@@ -83,13 +83,13 @@
 /*
  * Allows fine control of the tabbed interface
  */
-class CustTabs : public CustGroup {
+class CustTabs : public CustGroupHorizontal {
    int tab_w, tab_h, tab_n;
    Fl_Wizard *Wizard;
    int tabcolor_inactive, tabcolor_active, curtab_idx;
 public:
    CustTabs (int ww, int wh, int th, const char *lbl=0) :
-      CustGroup(0,0,ww,th,lbl) {
+      CustGroupHorizontal(0,0,ww,th,lbl) {
       tab_w = 80, tab_h = th, tab_n = 0, curtab_idx = -1;
       tabcolor_active = FL_DARK_CYAN; tabcolor_inactive = 206;
       Fl_Box *w = new Fl_Box(0,0,0,0,"i n v i s i b l e");
@@ -174,7 +174,7 @@
       }
    }
 
-   return (ret) ? ret : CustGroup::handle(e);
+   return (ret) ? ret : CustGroupHorizontal::handle(e);
 }
 
 /*