Add console panel

This commit is contained in:
Jordan
2021-06-12 11:21:15 -04:00
committed by jordanruthe
parent 8d2b6230ad
commit 207c026cb5
8 changed files with 169 additions and 14 deletions

View File

@@ -73,7 +73,7 @@ class BasePanel(ScreenPanel):
self.titlelbl.set_valign(Gtk.Align.CENTER)
self.set_title(title)
self.content = Gtk.Box(spacing=0)
self.content = Gtk.VBox(spacing=0)
self.content.set_size_request(self._screen.width - action_bar_width, self._screen.height - self.title_spacing)
if action_bar == True:
@@ -146,6 +146,9 @@ class BasePanel(ScreenPanel):
if self.current_panel == None:
return
if self._screen.is_keyboard_showing():
self._screen.remove_keyboard()
if hasattr(self.current_panel, "back"):
if not self.current_panel.back():
self._screen._menu_go_back()