Add a vertical scrollbar to the layoutlauncher - also make mouse wheel scrolling work.
This commit is contained in:
parent
f067e5355b
commit
dc2a9d428a
|
@ -20,23 +20,31 @@
|
||||||
<property name="label_yalign">0</property>
|
<property name="label_yalign">0</property>
|
||||||
<property name="shadow_type">in</property>
|
<property name="shadow_type">in</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkTreeView" id="layoutlist">
|
<object class="GtkScrolledWindow" id="scrolledwindow1">
|
||||||
<property name="width_request">150</property>
|
|
||||||
<property name="height_request">200</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="model">layoutstore</property>
|
<property name="hscrollbar_policy">automatic</property>
|
||||||
<property name="headers_clickable">False</property>
|
<property name="vscrollbar_policy">automatic</property>
|
||||||
<property name="search_column">0</property>
|
|
||||||
<signal name="row-activated" handler="on_row_activated" swapped="no"/>
|
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkTreeViewColumn" id="treeviewcolumn1">
|
<object class="GtkTreeView" id="layoutlist">
|
||||||
<property name="title" translatable="yes">Layout</property>
|
<property name="width_request">150</property>
|
||||||
|
<property name="height_request">200</property>
|
||||||
|
<property name="visible">True</property>
|
||||||
|
<property name="can_focus">True</property>
|
||||||
|
<property name="model">layoutstore</property>
|
||||||
|
<property name="headers_clickable">False</property>
|
||||||
|
<property name="search_column">0</property>
|
||||||
|
<signal name="row-activated" handler="on_row_activated" swapped="no"/>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkCellRendererText" id="cellrenderertext1"/>
|
<object class="GtkTreeViewColumn" id="treeviewcolumn1">
|
||||||
<attributes>
|
<property name="title" translatable="yes">Layout</property>
|
||||||
<attribute name="text">0</attribute>
|
<child>
|
||||||
</attributes>
|
<object class="GtkCellRendererText" id="cellrenderertext1"/>
|
||||||
|
<attributes>
|
||||||
|
<attribute name="text">0</attribute>
|
||||||
|
</attributes>
|
||||||
|
</child>
|
||||||
|
</object>
|
||||||
</child>
|
</child>
|
||||||
</object>
|
</object>
|
||||||
</child>
|
</child>
|
||||||
|
|
Loading…
Reference in New Issue