forked from CreatBot/CreatBotKlipperScreen
gtk: adjust icon sizes so they are more consistent across font sizes
This commit is contained in:
@@ -33,6 +33,12 @@ class ScreenPanel:
|
||||
self.content.set_hexpand(True)
|
||||
self.content.set_vexpand(True)
|
||||
self._show_heater_power = self._config.get_main_config().getboolean('show_heater_power', False)
|
||||
if self._gtk.font_size_type == "extralarge":
|
||||
self.bts = 1
|
||||
elif self._gtk.font_size_type == "large":
|
||||
self.bts = .7
|
||||
else:
|
||||
self.bts = .5
|
||||
|
||||
def emergency_stop(self, widget):
|
||||
if self._config.get_main_config().getboolean('confirm_estop', False):
|
||||
|
Reference in New Issue
Block a user