[gtk+/wip/baedert/gtkimageview] widget-factory: Ensure spinbuttons are sized right
- From: Timm Bäder <baedert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/baedert/gtkimageview] widget-factory: Ensure spinbuttons are sized right
- Date: Sun, 24 Jan 2016 20:04:31 +0000 (UTC)
commit bcae535324710e7423c3e6863f05e8e302ca353e
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Jan 23 15:52:09 2016 -0500
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.
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 908c1bf..07a6ade 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>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]