[haiku-bugs] Re: [Haiku] #6544: Media Preferences Windows's Height Successfully Measured as One Yard High, Refuses to Resize to a Respectable Level

  • From: "stippi" <trac@xxxxxxxxxxxx>
  • Date: Fri, 03 Sep 2010 08:45:35 -0000

#6544: Media Preferences Windows's Height Successfully Measured as One Yard 
High,
Refuses to Resize to a Respectable Level
--------------------------------+-------------------------------------------
  Reporter:  NathanP            |         Owner:  yourpalal                     
   
      Type:  bug                |        Status:  assigned                      
   
  Priority:  normal             |     Milestone:  R1                            
   
 Component:  Preferences/Media  |       Version:  R1/Development                
   
Resolution:                     |      Keywords:  media preferences window 
resizing
Blocked By:                     |   Has a Patch:  0                             
   
  Platform:  All                |      Blocking:                                
   
--------------------------------+-------------------------------------------

Comment (by stippi):

 Perhaps a hint: Some BViews report their *current* size in
 GetPreferredSize(). The default implementation of MinSize() uses
 GetPreferredSize(). So if you have a view in the hierarchy which is not
 properly layout friendly, you get this "window can never shrink" behavior.

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

Other related posts: