Opened 8 years ago

Last modified 8 months ago

#7393 assigned enhancement

Minimal width of window

Reported by: humdinger Owned by: nobody
Priority: low Milestone: Unscheduled
Component: Kits/Interface Kit Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description (last modified by humdinger)

This is hrev41068.

You can shrink ShowImage's window and have icons from the toolbar and menu items disappear. A minimum width limit taking localized menu item labels (edit: and toolbar icons) into account would be nice.

Maybe, post-R1 probably, due to resizing disappearing menu/toolbar/tabview items, could trigger the display of some sort of widget in the bar, offering the items that don't fit any longer in a menu.

Change History (9)

comment:1 Changed 8 years ago by leavengood

As of hrev41768 there seems to be a minimum width constraint related to the menu. Part of the toolbar gets cut off and maybe that should be fixed too, but it currently seems to satisfy your criteria in this ticket. I'm not sure what got fixed since your revision though. Maybe some of yourpalal's work on the layout system...

comment:2 Changed 8 years ago by humdinger

Yeah, stippi did good. The window's minimum width could also respect the toolbar icon size, but I can seem to compile a running ShowImage at the moment... Maybe the ticket should stay open until that is taken care of, too.

comment:3 Changed 7 years ago by halilpk

(GCI-2011 Participant)

Haiku revision: hrev42211 not a bug. You can't change the ShowImage window size to smaller than toolbar and menu . System: Haiku hrev1-alpha3 on VMware workstation 8 on windows 7 32 bit

comment:4 Changed 7 years ago by humdinger

Description: modified (diff)

The localized menu part was fixed by stippi. But toolbar icons still get cut if their width is bigger than the menu labels width. You can see that only with a Locale that has pretty short menu labels. "English" just cuts a few pixels, but still...

comment:5 Changed 7 years ago by halilpk

Yes my system language is english. Maybe you are right but my task is look this bug on english system.

comment:6 Changed 7 years ago by pulkomandy

You can still get the window slightly too small in english. Also, using a smaller font will make it worse. (hrev43817)

comment:7 Changed 4 years ago by waddlesplash

Component: Applications/ShowImageKits/Interface Kit
Milestone: R1R2
Owner: changed from leavengood to axeld
Priority: normallow

Since there is a workaround for this (and BToolbar is currently part of the private interface kit) I'm moving this out of R1.

comment:8 Changed 2 years ago by axeld

Owner: changed from axeld to nobody
Status: newassigned

comment:9 Changed 8 months ago by waddlesplash

Milestone: R2Unscheduled
Note: See TracTickets for help on using tickets.