mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
Tweak focus tests
These tests are a bit fragile because the initial focus that is taken depends on what ends up in the center of the window, horizontally or vertically, which depends on things like fonts, or theme spacing. This commit makes some tweaks to push things in the widget-factory example around far enough to make the tests work again. We should figure out a way to make this more robust.
This commit is contained in:
parent
3a08706e40
commit
7671c1074b
@ -847,7 +847,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
|
||||
<child>
|
||||
<object class="GtkFontButton" id="fontbutton1">
|
||||
<property name="receives-default">1</property>
|
||||
<property name="level">family|style|size|features|variations</property>
|
||||
<property name="level">family|size|features|variations</property>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
@ -1013,7 +1013,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
|
||||
<property name="adjustment">adjustment1</property>
|
||||
<property name="restrict-to-fill-level">0</property>
|
||||
<property name="fill-level">75</property>
|
||||
<property name="digits">-1</property>
|
||||
<property name="digits">1</property>
|
||||
<property name="draw-value">1</property>
|
||||
<property name="halign">end</property>
|
||||
</object>
|
||||
@ -1026,7 +1026,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
|
||||
<property name="adjustment">adjustment1</property>
|
||||
<property name="restrict-to-fill-level">0</property>
|
||||
<property name="fill-level">75</property>
|
||||
<property name="digits">-1</property>
|
||||
<property name="digits">1</property>
|
||||
<property name="draw-value">1</property>
|
||||
<property name="halign">start</property>
|
||||
</object>
|
||||
@ -1081,7 +1081,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
|
||||
</style>
|
||||
<child type="label">
|
||||
<object class="GtkLabel" id="label17">
|
||||
<property name="label" translatable="yes"><b>Groove</b></property>
|
||||
<property name="label" translatable="yes"><b>Groove, Groove, Groove</b></property>
|
||||
<property name="use-markup">1</property>
|
||||
</object>
|
||||
</child>
|
||||
|
@ -1014,7 +1014,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
|
||||
<property name="adjustment">adjustment1</property>
|
||||
<property name="restrict-to-fill-level">0</property>
|
||||
<property name="fill-level">75</property>
|
||||
<property name="digits">-1</property>
|
||||
<property name="digits">1</property>
|
||||
<property name="draw-value">1</property>
|
||||
<property name="halign">end</property>
|
||||
</object>
|
||||
@ -1027,7 +1027,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
|
||||
<property name="adjustment">adjustment1</property>
|
||||
<property name="restrict-to-fill-level">0</property>
|
||||
<property name="fill-level">75</property>
|
||||
<property name="digits">-1</property>
|
||||
<property name="digits">1</property>
|
||||
<property name="draw-value">1</property>
|
||||
<property name="halign">start</property>
|
||||
</object>
|
||||
|
@ -1014,7 +1014,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
|
||||
<property name="adjustment">adjustment1</property>
|
||||
<property name="restrict-to-fill-level">0</property>
|
||||
<property name="fill-level">75</property>
|
||||
<property name="digits">-1</property>
|
||||
<property name="digits">1</property>
|
||||
<property name="draw-value">1</property>
|
||||
<property name="halign">end</property>
|
||||
</object>
|
||||
@ -1027,7 +1027,7 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
|
||||
<property name="adjustment">adjustment1</property>
|
||||
<property name="restrict-to-fill-level">0</property>
|
||||
<property name="fill-level">75</property>
|
||||
<property name="digits">-1</property>
|
||||
<property name="digits">1</property>
|
||||
<property name="draw-value">1</property>
|
||||
<property name="halign">start</property>
|
||||
</object>
|
||||
|
Loading…
Reference in New Issue
Block a user