Labels not vertically centered for check or radio buttons



The following change:

2001-08-26  Alexander Larsson  <alla lysator liu se>

        * gtk/gtkcheckbutton.c:
        Update to use the functions in GtkButton.
        Changed size allocation of child. Now only gets as much
        space as it requests.

causes the labels associated with the widget to be top aligned with the
widget, not center aligned. If you look in testgtk, the label text is
slightly offset upward from being centered with relation to the indicator.
If you increase the value of the indicator_size property, the behavior is
more readily apparent.

I'm not sure what the proper fix is here. Why was this change made exactly?

-Yosh




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