[prev in list] [next in list] [prev in thread] [next in thread] 

List:       haiku-bugs
Subject:    Re: [Haiku-bugs] [Haiku] #169: [Registrar] Shutdown Status window
From:       "pieterpan" <trac () haiku-os ! org>
Date:       2008-06-28 10:50:57
Message-ID: 049.a68027b25f504eb31003b1fa6ee8fd01 () haiku-os ! org
[Download RAW message or body]

#169: [Registrar] Shutdown Status window isn't font sensitive (easy)
--------------------------------+-------------------------------------------
  Reporter:  diver              |       Owner:  bonefish
      Type:  bug                |      Status:  new     
  Priority:  normal             |   Milestone:  R1      
 Component:  Servers/registrar  |     Version:          
Resolution:                     |   Blockedby:          
  Platform:  All                |    Blocking:          
--------------------------------+-------------------------------------------

Comment(by pieterpan):

 I looked at the way that I think the whole fLines is set up, I think it
 actually stores an extra line, maybe for code simplification. Say you have
 2 lines: line 0 and line 1. It will actually store line 0, line 1 and line
 2. Now the total text height is the origin of line 0 to the origin of line
 2.
 However, this does not explain the strange values we get. Anyway, that
 code is rather involved, perhaps someone who worked on it could examine
 it?

 One of the problems with this code is that it assumes that the text will
 fit inside the window (determined by the width of the buttons etc, and
 that it will do so in 2 lines... Probably for a long app name and big font
 this does not apply. So it should probably also factor in the width of the
 textview. Or just use the layout system.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/169#comment:8>
Haiku <http://dev.haiku-os.org>
The Haiku operating system.
_______________________________________________
Haiku-bugs mailing list
Haiku-bugs@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/haiku-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic