[haiku-bugs] Re: [Haiku] #7240: Localized status messages too big for window

  • From: "phoudoin" <trac@xxxxxxxxxxxx>
  • Date: Fri, 18 Feb 2011 22:29:27 -0000

#7240: Localized status messages too big for window
-------------------------------------+------------------------------
  Reporter:  humdinger               |        Owner:  korli
      Type:  bug                     |       Status:  new
  Priority:  normal                  |    Milestone:  R1
 Component:  Applications/Installer  |      Version:  R1/Development
Resolution:                          |     Keywords:
Blocked By:                          |  Has a Patch:  0
  Platform:  All                     |     Blocking:
-------------------------------------+------------------------------

Comment (by phoudoin):

 > Can the LayoutKit check for the longest localized string and create a
 wide
 > enough Installer window from the start?

 What's missing is !BTextView::!HasHeightForWidth() and
 !BTextView::!GetHeightForWidth() when not editable, not in a scrollview
 and resizable. I tried to implement it, but didn't find the time to do it
 right.

 The LayoutKit will then automatically adjust to fit both logo and the
 whole status text. Dynamically.
 But it will also do this when the new status text is smaller enough to
 reduce the height, which is not the best visual effect...

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/7240#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: