Commit 9f65a59a authored by Guillaume Seguin's avatar Guillaume Seguin

UI shrinkage in mini mode

parent 1c00fc25
...@@ -67,7 +67,12 @@ def add_extra_controls(self, root, parentpanel, extra_buttons = None, mini_mode ...@@ -67,7 +67,12 @@ def add_extra_controls(self, root, parentpanel, extra_buttons = None, mini_mode
standalone_mode = extra_buttons is not None standalone_mode = extra_buttons is not None
base_line = 1 if standalone_mode else 2 base_line = 1 if standalone_mode else 2
gauges_base_line = base_line + 10 if standalone_mode else base_line + 6 if standalone_mode:
gauges_base_line = base_line + 10
elif mini_mode:
gauges_base_line = base_line + 6
else:
gauges_base_line = base_line + 5
tempdisp_line = gauges_base_line + (2 if root.display_gauges else 0) tempdisp_line = gauges_base_line + (2 if root.display_gauges else 0)
e_base_line = base_line + 3 if mini_mode else base_line + 2 e_base_line = base_line + 3 if mini_mode else base_line + 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment