diff options
Diffstat (limited to 'gui/internal')
| -rw-r--r-- | gui/internal/ui/plan.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gui/internal/ui/plan.go b/gui/internal/ui/plan.go index fe99a18..650668c 100644 --- a/gui/internal/ui/plan.go +++ b/gui/internal/ui/plan.go @@ -88,8 +88,12 @@ func newPlanView(w *Window) *planView { p.path = gtk.NewLabel("") p.path.SetXAlign(0) p.path.SetHExpand(true) - p.path.SetEllipsize(pango.EllipsizeMiddle) - p.path.SetMaxWidthChars(20) + // The end of a path says which directory this is, so that is the end + // that survives. It may be squeezed, but not to "/t... ds": below + // about this much it says nothing, and the tooltip holds it in full. + p.path.SetEllipsize(pango.EllipsizeStart) + p.path.SetMaxWidthChars(24) + p.path.SetWidthChars(16) p.dirs.Connect("notify::selected", p.showPath) p.scan = gtk.NewButtonWithLabel("Scan") // The one button that starts everything, so it carries the theme's |
