mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 16:50:11 +00:00
2c5be3b231
add a reftest that checks GtkTextView text margin property comparing with the normal margin added to the widget (they are the same when there is nothing drawn in the gutter like line numbers etc).
26 lines
1.3 KiB
XML
26 lines
1.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- Generated with glade 3.18.3 -->
|
|
<interface>
|
|
<requires lib="gtk+" version="3.0"/>
|
|
<object class="GtkTextBuffer" id="textbuffer1">
|
|
<property name="text" translatable="yes">Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquid ex ea commodi consequat. Quis aute iure reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint obcaecat cupiditat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum</property>
|
|
</object>
|
|
<object class="GtkWindow" id="window">
|
|
<property name="can_focus">False</property>
|
|
<property name="type">popup</property>
|
|
<property name="default_width">100</property>
|
|
<child>
|
|
<object class="GtkTextView" id="textview1">
|
|
<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="buffer">textbuffer1</property>
|
|
</object>
|
|
</child>
|
|
</object>
|
|
</interface>
|