Adjust fine tune panel for lower resolution (#16)
* Update print.py * Update KlipperScreen.config adding the HOME XY button * Update KlipperScreen.config * adjust the display for a lower resolution/800x480/ string shortening / long string caused the display to shift at a lower resolution. (panel job_status ) * adjust the display for a lower resolution/800x480/ string shortening / long string caused the display to shift at a lower resolution. (panel fine_tune ) Co-authored-by: jordanruthe <31575189+jordanruthe@users.noreply.github.com>
This commit is contained in:
parent
c2be717fa9
commit
85a2ba116c
@ -40,31 +40,31 @@ class FineTune(ScreenPanel):
|
||||
grid.attach(self.labels['zoffset'], 0, 1, 1, 1)
|
||||
grid.attach(self.labels['z-'], 0, 2, 1, 1)
|
||||
|
||||
self.labels['fan+'] = KlippyGtk.ButtonImage("fan-on", "Increase Fan", "color2")
|
||||
self.labels['fan+'] = KlippyGtk.ButtonImage("fan-on", "Fan +", "color2")
|
||||
self.labels['fan+'].connect("clicked", self.change_fan, "+")
|
||||
self.labels['fanspeed'] = Gtk.Label("Fan: 100%")
|
||||
self.labels['fanspeed'].get_style_context().add_class('temperature_entry')
|
||||
self.labels['fan-'] = KlippyGtk.ButtonImage("fan-off", "Decrease Fan", "color2")
|
||||
self.labels['fan-'] = KlippyGtk.ButtonImage("fan-off", "Fan -", "color2")
|
||||
self.labels['fan-'].connect("clicked", self.change_fan, "-")
|
||||
grid.attach(self.labels['fan+'], 1, 0, 1, 1)
|
||||
grid.attach(self.labels['fanspeed'], 1, 1, 1, 1)
|
||||
grid.attach(self.labels['fan-'], 1, 2, 1, 1)
|
||||
|
||||
self.labels['speed+'] = KlippyGtk.ButtonImage("speed-step", "Increase Speed", "color3")
|
||||
self.labels['speed+'] = KlippyGtk.ButtonImage("speed-step", "Speed +", "color3")
|
||||
self.labels['speed+'].connect("clicked", self.change_speed, "+")
|
||||
self.labels['speedfactor'] = Gtk.Label("Speed: 100%")
|
||||
self.labels['speedfactor'].get_style_context().add_class('temperature_entry')
|
||||
self.labels['speed-'] = KlippyGtk.ButtonImage("speed-step", "Decrease Speed", "color3")
|
||||
self.labels['speed-'] = KlippyGtk.ButtonImage("speed-step", "Speed -", "color3")
|
||||
self.labels['speed-'].connect("clicked", self.change_speed, "-")
|
||||
grid.attach(self.labels['speed+'], 2, 0, 1, 1)
|
||||
grid.attach(self.labels['speedfactor'], 2, 1, 1, 1)
|
||||
grid.attach(self.labels['speed-'], 2, 2, 1, 1)
|
||||
|
||||
self.labels['extrude+'] = KlippyGtk.ButtonImage("extrude", "Increase Extrusion", "color4")
|
||||
self.labels['extrude+'] = KlippyGtk.ButtonImage("extrude", "Extrusion +", "color4")
|
||||
self.labels['extrude+'].connect("clicked", self.change_extrusion, "+")
|
||||
self.labels['extrudefactor'] = Gtk.Label("Extrusion: 100%")
|
||||
self.labels['extrudefactor'].get_style_context().add_class('temperature_entry')
|
||||
self.labels['extrude-'] = KlippyGtk.ButtonImage("retract", "Decrease Extrusion", "color4")
|
||||
self.labels['extrude-'] = KlippyGtk.ButtonImage("retract", "Extrusion -", "color4")
|
||||
self.labels['extrude-'].connect("clicked", self.change_extrusion, "-")
|
||||
grid.attach(self.labels['extrude+'], 3, 0, 1, 1)
|
||||
grid.attach(self.labels['extrudefactor'], 3, 1, 1, 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user