Fixed text window scaling

This commit is contained in:
Markus Koch 2017-02-04 17:22:29 +01:00
parent e39c0ed7da
commit ee16f15a98

View File

@ -5,6 +5,8 @@
<object class="GtkTextBuffer" id="entryTextBuffer"/> <object class="GtkTextBuffer" id="entryTextBuffer"/>
<object class="GtkEntryCompletion" id="searchEntryCompletion"/> <object class="GtkEntryCompletion" id="searchEntryCompletion"/>
<object class="GtkApplicationWindow" id="mainWindow"> <object class="GtkApplicationWindow" id="mainWindow">
<property name="width_request">720</property>
<property name="height_request">405</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<signal name="destroy" handler="gtk_main_quit" swapped="no"/> <signal name="destroy" handler="gtk_main_quit" swapped="no"/>
<child> <child>
@ -205,20 +207,25 @@
<property name="shrink">True</property> <property name="shrink">True</property>
</packing> </packing>
</child> </child>
<child>
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="shadow_type">in</property>
<child> <child>
<object class="GtkTextView" id="entryText"> <object class="GtkTextView" id="entryText">
<property name="width_request">640</property>
<property name="height_request">320</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="editable">False</property> <property name="editable">False</property>
<property name="wrap_mode">word</property> <property name="wrap_mode">word-char</property>
<property name="left_margin">4</property> <property name="left_margin">4</property>
<property name="right_margin">4</property> <property name="right_margin">4</property>
<property name="top_margin">4</property> <property name="top_margin">4</property>
<property name="bottom_margin">4</property> <property name="bottom_margin">4</property>
<property name="buffer">entryTextBuffer</property> <property name="buffer">entryTextBuffer</property>
</object> </object>
</child>
</object>
<packing> <packing>
<property name="resize">True</property> <property name="resize">True</property>
<property name="shrink">True</property> <property name="shrink">True</property>