diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-01-23 15:52:09 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-01-23 18:16:51 -0500 |
commit | 770e308c9eaf8c99ea17701aa1e4cfc3380ccbae (patch) | |
tree | ef953117960a155580dbd8a88e048f612a6c3309 /demos | |
parent | 8ba996a6dbfb8a028b74ef43125c472ae6293c75 (diff) | |
download | gtk+-770e308c9eaf8c99ea17701aa1e4cfc3380ccbae.tar.gz |
widget-factory: Ensure spinbuttons are sized right
GtkEntry now respects the padding set by the theme, so we
need to ask the spin buttons to show 2 characters, otherwise
they will be clipped.
Diffstat (limited to 'demos')
-rw-r--r-- | demos/widget-factory/widget-factory.ui | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/widget-factory/widget-factory.ui b/demos/widget-factory/widget-factory.ui index 908c1bfa9b..07a6ade5d5 100644 --- a/demos/widget-factory/widget-factory.ui +++ b/demos/widget-factory/widget-factory.ui @@ -618,6 +618,8 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property> <property name="visible">1</property> <property name="can_focus">1</property> <property name="invisible_char">•</property> + <property name="width-chars">2</property> + <property name="max-width-chars">2</property> <property name="adjustment">adjustment2</property> </object> <packing> @@ -631,6 +633,8 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property> <property name="can_focus">1</property> <property name="invisible_char">•</property> <property name="sensitive">0</property> + <property name="width-chars">2</property> + <property name="max-width-chars">2</property> </object> <packing> <property name="fill">0</property> |