diff options
author | Matthias Clasen <mclasen@redhat.com> | 2004-06-05 03:58:50 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-06-05 03:58:50 +0000 |
commit | d287b71399f7eecc79fc8379730c9ecc6bf0da5c (patch) | |
tree | 1b62305bad628582304ecb26d2a6e5e1ea2c62b4 /docs/widget_geometry.txt | |
parent | 8509d7f4ea6c11b88bf6c1b56bad7ebe89c12df7 (diff) | |
download | gtk+-d287b71399f7eecc79fc8379730c9ecc6bf0da5c.tar.gz |
Add a note about the !CAN_FOCUS quirk in the button size allocation code.
2004-06-04 Matthias Clasen <mclasen@redhat.com>
* docs/widget_geometry.txt: Add a note about the !CAN_FOCUS
quirk in the button size allocation code.
* gtk/gtkbutton.c (gtk_button_size_allocate): Give the space
requested for drawing the focus indicator to the child in the
!CAN_FOCUS case. This should fix issues which the Gimp has with
the button allocation changes in 2.4.2.
Diffstat (limited to 'docs/widget_geometry.txt')
-rw-r--r-- | docs/widget_geometry.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/widget_geometry.txt b/docs/widget_geometry.txt index dbb2de84d7..7298ff4b68 100644 --- a/docs/widget_geometry.txt +++ b/docs/widget_geometry.txt @@ -271,6 +271,11 @@ GtkButton ===================== +NOTE: Due to a bug that is basically unfixable in a sufficiently compatible +NOTE: way, the button gives the space requested for focus_width and +NOTE: focus_padding to the child (in addition to the space requested by +NOTE: the child), if the button is !CAN_FOCUS. + Style properties GtkWidget::interior_focus = TRUE |