Re: use_uposition in gtkwindow.c

>  yep, i think i tried to get GTK_WIN_POS_CENTER together with auto_shrink=TRUE
>  correctly going there. iirc, especially the GleSelector (a temporary dialog
>  in the middle of the screen) looked very ugly upon resizes when it wasn't
>  recentered.

If a dialog expands or shrinks, then it is Evil(tm) to recenter it.
It should only be centered when it is mapped for the first time;
afterwards, it should expand only to the right or to the bottom.  This
is per the Macintosh UI Guidelines.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]