Added uiContainerUpdate() calls to each SetMargined().
This commit is contained in:
parent
20b76fe211
commit
a517beccae
|
@ -189,6 +189,7 @@ static void tabSetMargined(uiTab *tt, uintmax_t n, int margined)
|
|||
uiBinSetMargins(page, tabLeftMargin, tabTopMargin, tabRightMargin, tabBottomMargin);
|
||||
else
|
||||
uiBinSetMargins(page, 0, 0, 0, 0);
|
||||
uiContainerUpdate(uiContainer(page));
|
||||
}
|
||||
|
||||
uiTab *uiNewTab(void)
|
||||
|
|
|
@ -177,6 +177,7 @@ static void windowSetMargined(uiWindow *ww, int margined)
|
|||
uiBinSetMargins(w->bin, macXMargin, macYMargin, macXMargin, macYMargin);
|
||||
else
|
||||
uiBinSetMargins(w->bin, 0, 0, 0, 0);
|
||||
uiContainerUpdate(uiContainer(w->bin));
|
||||
}
|
||||
|
||||
uiWindow *uiNewWindow(const char *title, int width, int height, int hasMenubar)
|
||||
|
|
|
@ -126,6 +126,7 @@ static void tabSetMargined(uiTab *tt, uintmax_t n, int margined)
|
|||
uiBinSetMargins(page->bin, gtkXMargin, gtkYMargin, gtkXMargin, gtkYMargin);
|
||||
else
|
||||
uiBinSetMargins(page->bin, 0, 0, 0, 0);
|
||||
uiContainerUpdate(page->bin);
|
||||
}
|
||||
|
||||
uiTab *uiNewTab(void)
|
||||
|
|
|
@ -165,6 +165,7 @@ static void windowSetMargined(uiWindow *ww, int margined)
|
|||
uiBinSetMargins(w->bin, gtkXMargin, gtkYMargin, gtkXMargin, gtkYMargin);
|
||||
else
|
||||
uiBinSetMargins(w->bin, 0, 0, 0, 0);
|
||||
uiContainerUpdate(uiContainer(w->bin));
|
||||
}
|
||||
|
||||
uiWindow *uiNewWindow(const char *title, int width, int height, int hasMenubar)
|
||||
|
|
|
@ -331,6 +331,7 @@ static void tabSetMargined(uiTab *tt, uintmax_t n, int margined)
|
|||
uiBinSetMargins(page->bin, tabMargin, tabMargin, tabMargin, tabMargin);
|
||||
else
|
||||
uiBinSetMargins(page->bin, 0, 0, 0, 0);
|
||||
uiContainerUpdate(uiContainer(page->bin));
|
||||
}
|
||||
|
||||
uiTab *uiNewTab(void)
|
||||
|
|
|
@ -227,6 +227,7 @@ static void windowSetMargined(uiWindow *ww, int margined)
|
|||
uiBinSetMargins(w->bin, windowMargin, windowMargin, windowMargin, windowMargin);
|
||||
else
|
||||
uiBinSetMargins(w->bin, 0, 0, 0, 0);
|
||||
uiContainerUpdate(uiContainer(w->bin));
|
||||
}
|
||||
|
||||
// see http://blogs.msdn.com/b/oldnewthing/archive/2003/09/11/54885.aspx and http://blogs.msdn.com/b/oldnewthing/archive/2003/09/13/54917.aspx
|
||||
|
|
Loading…
Reference in New Issue