#13378: Checkmark label alignment too low
----------------------------------+----------------------------
Reporter: humdinger | Owner: axeld
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 anirudh):
I added the following piece of code to CheckBox.cpp under its Draw
function.
{{{
labelRect.bottom = (float)(0.2f + be_control_look->DefaultLabelSpacing());
labelRect.top = (float)(0.2f + be_control_look->DefaultLabelSpacing());
}}}
The label is now moved few pixels up than the correct position (see
attachment). I tried modifying the values, but still results the same.
What maybe the problem here?
--
Ticket URL: <https://dev.haiku-os.org/ticket/13378#comment:5>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.