[haiku-bugs] Re: [Haiku] #13378: Checkmark label alignment too low

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Sun, 16 Apr 2017 22:30:03 -0000

#13378: Checkmark label alignment too low
----------------------------------+----------------------------
   Reporter:  humdinger           |      Owner:  nobody
       Type:  enhancement         |     Status:  assigned
   Priority:  normal              |  Milestone:  Unscheduled
  Component:  Kits/Interface Kit  |    Version:  R1/Development
 Resolution:                      |   Keywords:
 Blocked By:                      |   Blocking:
Has a Patch:  1                   |   Platform:  All
----------------------------------+----------------------------

Comment (by axeld):

 The patch doesn't make any sense to me. Why `bottom + 1 - default label
 space`? This incorrectly enlarges the label area outside of the view's
 bounds, and only creates a somewhat fitting (it's too high IMO) offset.

 The code in `BControlLook::DrawLabel()` ([http://cgit.haiku-
 os.org/haiku/tree/src/kits/interface/ControlLook.cpp#n2071 lines 2071ff])
 is responsible for computing the label location, and it should be
 investigated why it doesn't work as expected here, and maybe if there is a
 case where it actually works as it should. This is a relatively new ticket
 -- maybe it's only broken with the new Robo fonts?

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

Other related posts: