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
9f65a59a
Commit
9f65a59a
authored
Mar 25, 2014
by
Guillaume Seguin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UI shrinkage in mini mode
parent
1c00fc25
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
gui.py
printrun/gui.py
+6
-1
No files found.
printrun/gui.py
View file @
9f65a59a
...
...
@@ -67,7 +67,12 @@ def add_extra_controls(self, root, parentpanel, extra_buttons = None, mini_mode
standalone_mode
=
extra_buttons
is
not
None
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
)
e_base_line
=
base_line
+
3
if
mini_mode
else
base_line
+
2
...
...
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