Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Z-Bolt/OctoScreen.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffB42 <10328858+JeffB42@users.noreply.github.com>2020-07-31 06:50:42 +0300
committerJeffB42 <10328858+JeffB42@users.noreply.github.com>2020-07-31 06:50:42 +0300
commit238a76063bbf03c026c2e72c230c7e313a4d1fde (patch)
tree52d3814550eba4900cb0737c8c5ea3334039d289
parentecb44557ad2ca7d13a0cc8f17d18a2b7bb65b675 (diff)
changed filename clip length to 20 to prevent going past screen bounds
-rw-r--r--ui/print_status.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/print_status.go b/ui/print_status.go
index 9805d82..36bb391 100644
--- a/ui/print_status.go
+++ b/ui/print_status.go
@@ -259,7 +259,7 @@ func (m *printStatusPanel) updateJob() {
if s.Job.File.Name != "" {
file = s.Job.File.Name
file = strings.Replace(file, ".gcode", "", -1)
- file = strEllipsisLen(file, 35)
+ file = strEllipsisLen(file, 20)
}
m.file.Label.SetLabel(file)