Merge pull request #349 from evandroforks/fix_choose_layout_size

Fix #345 The Alt+L layout chooser is too small
This commit is contained in:
Matt Rose 2020-12-31 14:32:39 -05:00 committed by GitHub
commit 5dc3653251
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -26,7 +26,7 @@
<property name="hscrollbar_policy">never</property>
<property name="vscrollbar_policy">automatic</property>
<property name="width_request">250</property>
<property name="height_request">250</property>
<property name="height_request">300</property>
<child>
<object class="GtkTreeView" id="layoutlist">
<property name="visible">True</property>

View File

@ -54,6 +54,7 @@ class LayoutLauncher:
icon = self.window.render_icon(Gtk.STOCK_DIALOG_INFO, Gtk.IconSize.BUTTON)
self.window.set_icon(icon)
self.window.set_size_request(250, 300)
self.builder.connect_signals(self)
self.window.connect('destroy', self.on_destroy_event)
self.window.show_all()