Tweaks to fit on Pinephone display
This commit is contained in:
parent
c93aa6e170
commit
1f19859d1c
1
main.py
1
main.py
|
@ -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()
|
||||||
|
|
|
@ -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"/>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user