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
85dd1b9a
Commit
85dd1b9a
authored
Jul 20, 2011
by
kliment
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #37 from alexrj/mac
Avoid text clipping on Mac
parents
174321aa
d9a0526c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
pronterface.py
pronterface.py
+4
-4
No files found.
pronterface.py
View file @
85dd1b9a
...
@@ -353,11 +353,11 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
...
@@ -353,11 +353,11 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
#left pane
#left pane
lls
=
self
.
lowerlsizer
=
wx
.
GridBagSizer
()
lls
=
self
.
lowerlsizer
=
wx
.
GridBagSizer
()
lls
.
Add
(
wx
.
StaticText
(
self
.
panel
,
-
1
,
"mm/min"
,
pos
=
(
60
,
69
)),
pos
=
(
0
,
4
),
span
=
(
1
,
4
))
lls
.
Add
(
wx
.
StaticText
(
self
.
panel
,
-
1
,
"mm/min"
,
pos
=
(
60
,
69
)),
pos
=
(
0
,
4
),
span
=
(
1
,
4
))
self
.
xyfeedc
=
wx
.
SpinCtrl
(
self
.
panel
,
-
1
,
str
(
self
.
settings
.
xy_feedrate
),
min
=
0
,
max
=
50000
,
size
=
(
6
0
,
25
),
pos
=
(
25
,
83
))
self
.
xyfeedc
=
wx
.
SpinCtrl
(
self
.
panel
,
-
1
,
str
(
self
.
settings
.
xy_feedrate
),
min
=
0
,
max
=
50000
,
size
=
(
7
0
,
25
),
pos
=
(
25
,
83
))
lls
.
Add
(
wx
.
StaticText
(
self
.
panel
,
-
1
,
"XY:"
,
pos
=
(
2
,
90
-
2
)),
pos
=
(
1
,
0
),
span
=
(
1
,
2
))
lls
.
Add
(
wx
.
StaticText
(
self
.
panel
,
-
1
,
"XY:"
,
pos
=
(
2
,
90
-
2
)),
pos
=
(
1
,
0
),
span
=
(
1
,
2
))
lls
.
Add
(
self
.
xyfeedc
,
pos
=
(
1
,
2
),
span
=
(
1
,
4
))
lls
.
Add
(
self
.
xyfeedc
,
pos
=
(
1
,
2
),
span
=
(
1
,
4
))
lls
.
Add
(
wx
.
StaticText
(
self
.
panel
,
-
1
,
"Z:"
,
pos
=
(
90
,
90
-
2
)),
pos
=
(
1
,
6
),
span
=
(
1
,
2
))
lls
.
Add
(
wx
.
StaticText
(
self
.
panel
,
-
1
,
"Z:"
,
pos
=
(
90
,
90
-
2
)),
pos
=
(
1
,
6
),
span
=
(
1
,
2
))
self
.
zfeedc
=
wx
.
SpinCtrl
(
self
.
panel
,
-
1
,
str
(
self
.
settings
.
z_feedrate
),
min
=
0
,
max
=
50000
,
size
=
(
6
0
,
25
),
pos
=
(
105
,
83
))
self
.
zfeedc
=
wx
.
SpinCtrl
(
self
.
panel
,
-
1
,
str
(
self
.
settings
.
z_feedrate
),
min
=
0
,
max
=
50000
,
size
=
(
7
0
,
25
),
pos
=
(
105
,
83
))
lls
.
Add
(
self
.
zfeedc
,
pos
=
(
1
,
8
),
span
=
(
1
,
4
))
lls
.
Add
(
self
.
zfeedc
,
pos
=
(
1
,
8
),
span
=
(
1
,
4
))
#lls.Add((200,375))
#lls.Add((200,375))
...
@@ -381,7 +381,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
...
@@ -381,7 +381,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
choices
=
htemp_choices
,
style
=
wx
.
CB_DROPDOWN
,
size
=
(
90
,
25
),
pos
=
(
45
,
337
))
choices
=
htemp_choices
,
style
=
wx
.
CB_DROPDOWN
,
size
=
(
90
,
25
),
pos
=
(
45
,
337
))
self
.
htemp
.
SetValue
(
"0"
)
self
.
htemp
.
SetValue
(
"0"
)
lls
.
Add
(
self
.
htemp
,
pos
=
(
11
,
1
),
span
=
(
1
,
3
))
lls
.
Add
(
self
.
htemp
,
pos
=
(
11
,
1
),
span
=
(
1
,
3
))
self
.
settbtn
=
wx
.
Button
(
self
.
panel
,
-
1
,
"Set"
,
size
=
(
3
0
,
-
1
),
pos
=
(
135
,
335
))
self
.
settbtn
=
wx
.
Button
(
self
.
panel
,
-
1
,
"Set"
,
size
=
(
3
8
,
-
1
),
pos
=
(
135
,
335
))
self
.
settbtn
.
Bind
(
wx
.
EVT_BUTTON
,
self
.
do_settemp
)
self
.
settbtn
.
Bind
(
wx
.
EVT_BUTTON
,
self
.
do_settemp
)
self
.
printerControls
.
append
(
self
.
settbtn
)
self
.
printerControls
.
append
(
self
.
settbtn
)
lls
.
Add
(
self
.
settbtn
,
pos
=
(
11
,
4
),
span
=
(
1
,
2
))
lls
.
Add
(
self
.
settbtn
,
pos
=
(
11
,
4
),
span
=
(
1
,
2
))
...
@@ -393,7 +393,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
...
@@ -393,7 +393,7 @@ class PronterWindow(wx.Frame,pronsole.pronsole):
choices
=
btemp_choices
,
style
=
wx
.
CB_DROPDOWN
,
size
=
(
90
,
25
),
pos
=
(
45
,
367
))
choices
=
btemp_choices
,
style
=
wx
.
CB_DROPDOWN
,
size
=
(
90
,
25
),
pos
=
(
45
,
367
))
self
.
btemp
.
SetValue
(
"0"
)
self
.
btemp
.
SetValue
(
"0"
)
lls
.
Add
(
self
.
btemp
,
pos
=
(
12
,
1
),
span
=
(
1
,
3
))
lls
.
Add
(
self
.
btemp
,
pos
=
(
12
,
1
),
span
=
(
1
,
3
))
self
.
setbbtn
=
wx
.
Button
(
self
.
panel
,
-
1
,
"Set"
,
size
=
(
3
0
,
-
1
),
pos
=
(
135
,
365
))
self
.
setbbtn
=
wx
.
Button
(
self
.
panel
,
-
1
,
"Set"
,
size
=
(
3
8
,
-
1
),
pos
=
(
135
,
365
))
self
.
setbbtn
.
Bind
(
wx
.
EVT_BUTTON
,
self
.
do_bedtemp
)
self
.
setbbtn
.
Bind
(
wx
.
EVT_BUTTON
,
self
.
do_bedtemp
)
self
.
printerControls
.
append
(
self
.
setbbtn
)
self
.
printerControls
.
append
(
self
.
setbbtn
)
lls
.
Add
(
self
.
setbbtn
,
pos
=
(
12
,
4
),
span
=
(
1
,
2
))
lls
.
Add
(
self
.
setbbtn
,
pos
=
(
12
,
4
),
span
=
(
1
,
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