Tweaks to fit on Pinephone display

This commit is contained in:
Noah 2020-07-06 21:26:12 -07:00
parent c93aa6e170
commit 1f19859d1c
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@ class Main:
for row in ["First Button", "Second", "Third"]: for row in ["First Button", "Second", "Third"]:
self.add_button(row) self.add_button(row)
self.mw.maximize()
self.mw.show_all() self.mw.show_all()
Gtk.main() Gtk.main()

View File

@ -125,7 +125,7 @@
</object> </object>
<object class="GtkApplicationWindow" id="main_window"> <object class="GtkApplicationWindow" id="main_window">
<property name="width_request">360</property> <property name="width_request">360</property>
<property name="height_request">720</property> <property name="height_request">550</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="show_menubar">False</property> <property name="show_menubar">False</property>
<signal name="destroy" handler="on_main_window_destroy" swapped="no"/> <signal name="destroy" handler="on_main_window_destroy" swapped="no"/>