[haiku-bugs] Re: [Haiku] #13170: [Interface Kit] scrollbars do not scale

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 12 Apr 2020 19:45:54 -0000

#13170: [Interface Kit] scrollbars do not scale
----------------------------------+----------------------------
   Reporter:  diver               |      Owner:  nobody
       Type:  bug                 |     Status:  assigned
   Priority:  normal              |  Milestone:  Unscheduled
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------
Comment (by pulkomandy):

 Indeed. But I think we can make it work at least with the layout kit.

 Some notes:
 - The scrollbar code itself in fact has no problem drawing at other sizes,
 this is just the default and can be overriden.
 - We need to adjust the resize knob, which may be tricky because it is
 handled by the decorators; not by the client drawing.
 - We could keep the small size (we will have to, in fact) for old apps
 that don't use the layout kit, except maybe if they use BScrollView and we
 can manage the scrollbar size from there, but even then, I'm not sure if
 we can get it to work. For layout-API apps it is not a problem (once the
 resize knob is dealt with) to change the size.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/13170#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: