[haiku-bugs] Re: [Haiku] #3723: Improving disk performance by changing VirtualMemory path

  • From: "hamish" <trac@xxxxxxxxxxxx>
  • Date: Sun, 03 Jul 2011 17:38:54 -0000

#3723: Improving disk performance by changing VirtualMemory path
-----------------------------------------+---------------------------
   Reporter:  haiqu                      |      Owner:  axeld
       Type:  enhancement                |     Status:  new
   Priority:  normal                     |  Milestone:  R1
  Component:  Preferences/VirtualMemory  |    Version:  R1/pre-alpha1
 Resolution:                             |   Keywords:
 Blocked By:                             |   Blocking:
Has a Patch:  0                          |   Platform:  All
-----------------------------------------+---------------------------

Comment (by hamish):

 Yeah, I didn't think so either.

 I replaced the menu field with a column list view with "Name", "Free
 space", and "Capacity" columns and a "Device path" column that's hidden by
 default, and it looks much better.

 However, I've noticed a problem with BColumnListView. While BStringColumn
 correctly respects font size and sizes itself accordingly, the BRow class
 is fixed-height.

 Its height is given in the constructor, so it's possible to just pass in
 the current font height, but a nicer solution would be a BStringRow class
 which automatically sets its height as per the font. Is it possible for me
 to implement this without breaking binary compatibility?

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

Other related posts: