Skip to content

Commit

Permalink
Prevent long material name from making screen too wide
Browse files Browse the repository at this point in the history
  • Loading branch information
moggieuk committed Jun 9, 2024
1 parent 61a48b7 commit f20fa8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion panels/mmu_spoolman.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def refresh(self):
color = self.COLOR_ORANGE
self.labels[f'remaining_percentage_{i}'].override_color(Gtk.StateType.NORMAL,color)

self.labels[f'material_{i}'].set_label(material)
self.labels[f'material_{i}'].set_label(material[:6])
self.labels[f'filament_{i}'].set_label(filament)
#self.labels[f'vendor_{i}'].set_label(vendor)
self.labels[f'tools_{i}'].set_label(tool_str)
Expand Down

0 comments on commit f20fa8b

Please sign in to comment.