From 3bb470ded4a55de56d23791e27625fd81f5f11b1 Mon Sep 17 00:00:00 2001 From: alfrix Date: Thu, 30 Jun 2022 14:04:06 -0300 Subject: [PATCH] Fix keyboard size after being converted to a oriented Box --- screen.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/screen.py b/screen.py index aab59bba..009cff36 100644 --- a/screen.py +++ b/screen.py @@ -1031,12 +1031,10 @@ class KlipperScreen(Gtk.Window): logging.debug("PID %s" % p.pid) keyboard = Gtk.Socket() - box = Gtk.Box(orientation=Gtk.Orientation.VERTICAL) - box.set_vexpand(False) box.set_size_request(self.gtk.get_content_width(), self.gtk.get_keyboard_height()) box.get_style_context().add_class("keyboard_box") - box.add(keyboard) + box.pack_start(keyboard, True, True, 0) self.base_panel.get_content().pack_end(box, True, True, 0)