[haiku-bugs] Re: [Haiku] #13466: BToolBar should support trimming icons

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Tue, 02 May 2017 05:32:06 -0000

#13466: BToolBar should support trimming icons
----------------------------------+----------------------------
   Reporter:  KapiX               |      Owner:  nobody
       Type:  enhancement         |     Status:  new
   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):

 The main problem here is that Icon-O-Matic doesn't support a 24x24 grid,
 yet we chose that size for toolbar icons (16x16 is too small, but 32x32 is
 too large). This is why the icons just leave some empty space on the
 sides.

 Automatic trimming by detecting empty areas in the icon is not going to
 work, because some may have further empty space inside the 24x24 area. So
 you need to trim to the expected size 24x24 explicitly?

 Anyway, as it is in libshared there is no problem reworking the API,
 existing binaries will continue to run as they link to it statically.

--
Ticket URL: <https://dev.haiku-os.org/ticket/13466#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: