mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-16 21:50:34 +00:00
2d15c25d93
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.
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_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>
|
|
</object>
|
|
</interface>
|