mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
reftests: Make textview-margins pass in make check
I found that setting margins to zero makes the textview clip away some overshooting pixels. So, instead of a 0/10 split, do this test with a 2/8 split of margins, to avoid the clipping issue.
This commit is contained in:
parent
0b669dffa9
commit
2d15c25d93
@ -14,10 +14,10 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="wrap_mode">word</property>
|
||||
<property name="margin_left">10</property>
|
||||
<property name="margin_right">10</property>
|
||||
<property name="left_margin">0</property>
|
||||
<property name="right_margin">0</property>
|
||||
<property name="margin_start">8</property>
|
||||
<property name="margin_end">8</property>
|
||||
<property name="left_margin">2</property>
|
||||
<property name="right_margin">2</property>
|
||||
<property name="buffer">textbuffer1</property>
|
||||
</object>
|
||||
</child>
|
||||
|
@ -14,10 +14,10 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="wrap_mode">word</property>
|
||||
<property name="margin_left">0</property>
|
||||
<property name="margin_right">0</property>
|
||||
<property name="left_margin">10</property>
|
||||
<property name="right_margin">10</property>
|
||||
<property name="margin_start">2</property>
|
||||
<property name="margin_end">2</property>
|
||||
<property name="left_margin">8</property>
|
||||
<property name="right_margin">8</property>
|
||||
<property name="buffer">textbuffer1</property>
|
||||
</object>
|
||||
</child>
|
||||
|
Loading…
Reference in New Issue
Block a user