[haiku-bugs] Re: [Haiku] #8549: [Media] briefly shows scrollbars after selecting mixer from the list view (easy)

  • From: "yourpalal" <trac@xxxxxxxxxxxx>
  • Date: Wed, 15 May 2013 16:10:34 -0000

#8549: [Media] briefly shows scrollbars after selecting mixer from the list view
(easy)
-----------------------------------+----------------------------
   Reporter:  diver                |      Owner:  yourpalal
       Type:  bug                  |     Status:  new
   Priority:  normal               |  Milestone:  R1
  Component:  Add-Ons/Media/Mixer  |    Version:  R1/Development
 Resolution:                       |   Keywords:
 Blocked By:                       |   Blocking:
Has a Patch:  0                    |   Platform:  All
-----------------------------------+----------------------------

Comment (by yourpalal):

 Replying to [comment:7 irtusb]:
 > As far I can see, this issue has something to do with the usage of
 BTabView in
 > [http://cgit.haiku-
 os.org/haiku/tree/src/kits/media/DefaultMediaTheme.cpp DefaultMediaTheme]
 source file.
 > Is it safe to use Layout-classes to solve this, or should I stick with
 fixed size/position items? I'm referencing the last warning presented by
 leavengood in [https://www.haiku-
 os.org/documents/dev/laying_it_all_out_part_1 Laying It All Out, Part 1]

 It is probably safe to use them, yes. The main issue to be wary of is
 backwards-compatibility with non-layout-aware apps. Hopefully this won't
 be an issue, the layout API attempts to be backwards-compatible in this
 way, but it could have problems. As you work, you should develop a small
 test application that uses the media kit views in a non-layouted context
 and test with it while you're working. The Media preflet already uses the
 layout kit, so it should be fine for sure.

 There's also some documentation on the layout api in the haiku book, here:
 http://api.haiku-os.org/layout_intro.html

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

Other related posts: