gtk: Make keyboard height be dynamic based off resolution

This commit is contained in:
Jordan
2021-06-14 21:24:57 -04:00
committed by jordanruthe
parent 57a952c4e0
commit 30cbaa7e23
2 changed files with 7 additions and 2 deletions

View File

@@ -120,6 +120,7 @@ class KlipperScreen(Gtk.Window):
self.theme = self._config.get_main_config_option('theme')
self.gtk = KlippyGtk(self, self.width, self.height, self.theme)
self.keyboard_height = self.gtk.get_keyboard_height()
self.init_style()
self.base_panel = BasePanel(self, "Base Panel", False)