Opened 14 years ago

Last modified 6 years 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:
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 by leavengood, 13 years ago

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 by humdinger, 13 years ago

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 by halilpk, 13 years ago

(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 by humdinger, 13 years ago

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 by halilpk, 13 years ago

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

comment:6 by pulkomandy, 13 years ago

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

comment:7 by waddlesplash, 10 years ago

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 by axeld, 8 years ago

Owner: changed from axeld to nobody
Status: newassigned

comment:9 by waddlesplash, 6 years ago

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