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
6aad8c63
Commit
6aad8c63
authored
Mar 25, 2014
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tabbed mode
parent
8c8e7b9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
gui.py
printrun/gui.py
+2
-2
No files found.
printrun/gui.py
View file @
6aad8c63
...
@@ -67,7 +67,7 @@ def add_extra_controls(self, root, parentpanel, extra_buttons = None, mini_mode
...
@@ -67,7 +67,7 @@ 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
+
8
if
standalone_mode
else
base_line
+
5
gauges_base_line
=
base_line
+
9
if
standalone_mode
else
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
...
@@ -108,7 +108,7 @@ def add_extra_controls(self, root, parentpanel, extra_buttons = None, mini_mode
...
@@ -108,7 +108,7 @@ def add_extra_controls(self, root, parentpanel, extra_buttons = None, mini_mode
}
}
if
standalone_mode
:
if
standalone_mode
:
pos_mapping
[
"tempgraph"
]
=
(
base_line
+
3
,
0
)
pos_mapping
[
"tempgraph"
]
=
(
base_line
+
4
,
0
)
span_mapping
[
"tempgraph"
]
=
(
5
,
6
)
span_mapping
[
"tempgraph"
]
=
(
5
,
6
)
elif
mini_mode
:
elif
mini_mode
:
pos_mapping
[
"tempgraph"
]
=
(
base_line
+
2
,
0
)
pos_mapping
[
"tempgraph"
]
=
(
base_line
+
2
,
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