[haiku-bugs] Re: [Haiku] #7560: BTextView does not properly handle wrapped lines

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Mon, 08 May 2017 06:58:22 -0000

#7560: BTextView does not properly handle wrapped lines
---------------------------+-----------------------------------------------
   Reporter:  humdinger    |      Owner:  pulkomandy
       Type:  bug          |     Status:  assigned
   Priority:  normal       |  Milestone:  R1
  Component:               |    Version:  R1/Development
  Kits/Interface Kit       |
 Resolution:               |   Keywords:
 Blocked By:               |   Blocking:  11723, 12143, 12719, 12908, 13479
Has a Patch:  0            |   Platform:  All
---------------------------+-----------------------------------------------

Comment (by axeld):

 It's not a `BTextView` bug, it's an API inconvenience, you'll have to call
 `BWindow::ResizeToPreferred()`.

 However, when I add this (to ''BootPromptWindow.cpp'', line 259), the
 window size is only sometimes correct, but mostly way too large. I haven't
 had the time to investigate, but this is definitely a bug somewhere (and
 that might even be located in `BTextView`, after all).

--
Ticket URL: <https://dev.haiku-os.org/ticket/7560#comment:16>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts:

  • » [haiku-bugs] Re: [Haiku] #7560: BTextView does not properly handle wrapped lines - axeld