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
f63fef7b
Commit
f63fef7b
authored
Feb 25, 2014
by
Ilya Novoselov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused make_sized_button function and buttonSize variable
parent
9cd04236
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
gui.py
printrun/gui.py
+0
-6
No files found.
printrun/gui.py
View file @
f63fef7b
...
@@ -21,9 +21,6 @@ except:
...
@@ -21,9 +21,6 @@ except:
print
_
(
"WX is not installed. This program requires WX to run."
)
print
_
(
"WX is not installed. This program requires WX to run."
)
raise
raise
global
buttonSize
buttonSize
=
(
70
,
25
)
# Define sizes for the buttons on top rows
from
printrun
import
gviz
from
printrun
import
gviz
from
printrun.xybuttons
import
XYButtons
from
printrun.xybuttons
import
XYButtons
from
printrun.zbuttons
import
ZButtons
from
printrun.zbuttons
import
ZButtons
...
@@ -41,9 +38,6 @@ def make_button(parent, label, callback, tooltip, container = None, size = wx.De
...
@@ -41,9 +38,6 @@ def make_button(parent, label, callback, tooltip, container = None, size = wx.De
container
.
Add
(
button
)
container
.
Add
(
button
)
return
button
return
button
def
make_sized_button
(
*
args
):
return
make_button
(
*
args
,
size
=
buttonSize
)
def
make_autosize_button
(
*
args
):
def
make_autosize_button
(
*
args
):
return
make_button
(
*
args
,
size
=
(
-
1
,
-
1
),
style
=
wx
.
BU_EXACTFIT
)
return
make_button
(
*
args
,
size
=
(
-
1
,
-
1
),
style
=
wx
.
BU_EXACTFIT
)
...
...
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