Fix #345 The Alt+L layout chooser is too small
This commit is contained in:
parent
e40f9fe651
commit
7e8af3fd48
|
@ -26,7 +26,7 @@
|
||||||
<property name="hscrollbar_policy">never</property>
|
<property name="hscrollbar_policy">never</property>
|
||||||
<property name="vscrollbar_policy">automatic</property>
|
<property name="vscrollbar_policy">automatic</property>
|
||||||
<property name="width_request">250</property>
|
<property name="width_request">250</property>
|
||||||
<property name="height_request">250</property>
|
<property name="height_request">300</property>
|
||||||
<child>
|
<child>
|
||||||
<object class="GtkTreeView" id="layoutlist">
|
<object class="GtkTreeView" id="layoutlist">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
|
|
|
@ -54,6 +54,7 @@ class LayoutLauncher:
|
||||||
icon = self.window.render_icon(Gtk.STOCK_DIALOG_INFO, Gtk.IconSize.BUTTON)
|
icon = self.window.render_icon(Gtk.STOCK_DIALOG_INFO, Gtk.IconSize.BUTTON)
|
||||||
self.window.set_icon(icon)
|
self.window.set_icon(icon)
|
||||||
|
|
||||||
|
self.window.set_size_request(250, 300)
|
||||||
self.builder.connect_signals(self)
|
self.builder.connect_signals(self)
|
||||||
self.window.connect('destroy', self.on_destroy_event)
|
self.window.connect('destroy', self.on_destroy_event)
|
||||||
self.window.show_all()
|
self.window.show_all()
|
||||||
|
|
Loading…
Reference in New Issue