Commit ae650f02 authored by Guillaume Seguin's avatar Guillaume Seguin

Fix empty line in mini mode when graph is not used

parent 58ed1d98
...@@ -45,7 +45,10 @@ def add_extra_controls(self, root, parentpanel, extra_buttons = None, mini_mode ...@@ -45,7 +45,10 @@ def add_extra_controls(self, root, parentpanel, extra_buttons = None, mini_mode
else: else:
gauges_base_line = base_line + 5 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 if mini_mode and root.display_graph:
e_base_line = base_line + 3
else:
e_base_line = base_line + 2
pos_mapping = { pos_mapping = {
"htemp_label": (base_line + 0, 0), "htemp_label": (base_line + 0, 0),
......
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