Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
P
Printrun
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
machinery
Printrun
Commits
ae650f02
Commit
ae650f02
authored
Apr 01, 2014
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix empty line in mini mode when graph is not used
parent
58ed1d98
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
controls.py
printrun/gui/controls.py
+4
-1
No files found.
printrun/gui/controls.py
View file @
ae650f02
...
@@ -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
),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment