Revision fbbcb2ff
Von martin vor etwa 15 Jahren hinzugefügt
gui/gtk2/w_hlayout.c | ||
---|---|---|
flags=GWEN_Widget_GetFlags(w);
|
||
wParent=GWEN_Widget_Tree_GetParent(w);
|
||
|
||
#if 0
|
||
/* using equal width here doesn't seem to be working as expected:
|
||
* I would expect al children be of equal width, but instead all children are
|
||
* equally distant to each other while still being of different width...
|
||
*/
|
||
g=gtk_hbox_new((flags & GWEN_WIDGET_FLAGS_EQUAL_WIDTH)?TRUE:FALSE,
|
||
GTK2_GUI_DIALOG_DEFAULT_BOX_SPACING);
|
||
#else
|
||
g=gtk_hbox_new(FALSE, GTK2_GUI_DIALOG_DEFAULT_BOX_SPACING);
|
||
#endif
|
||
GWEN_Widget_SetImplData(w, GTK2_DIALOG_WIDGET_REAL, (void*) g);
|
||
GWEN_Widget_SetImplData(w, GTK2_DIALOG_WIDGET_CONTENT, (void*) g);
|
||
|
Auch abrufbar als: Unified diff
GTK2: Don't handle flag "EQUAL_WIDTH" in hbox (doesn't work with GTK).
Using equal width in a HBox doesn't seem to be working as expected:
I would expect all children be of equal width, but instead all children are
equally distant to each other while still being of different width...
So for now I disable this feature for GTK2 (in the other GUIs this works).
git-svn-id: https://devel.aqbanking.de/svn/gwenhywfar/trunk@1873 70169cfe-8b10-0410-8925-dcb4b91034d8