Home
last modified time | relevance | path

Searched hist:"1 c69e1c306186ef5f58e377835ed00a51ffcc955" (Results 1 – 1 of 1) sorted by relevance

/haiku/src/kits/interface/
H A DControlLook.cppc79ddce494c68eb46976b86db5c68dfce9d15660 Fri Apr 04 15:05:20 UTC 2014 John Scipione <jscipione@gmail.com> Revert "Fix button label position"

This reverts commit 1c69e1c306186ef5f58e377835ed00a51ffcc955.
1c69e1c306186ef5f58e377835ed00a51ffcc955 Tue Apr 01 21:15:50 UTC 2014 John Scipione <jscipione@gmail.com> Fix button label position

This reverts a portion of hrev46580 concerning placement of a label on a button.
The label was draw too low on the button in some cases, notably in Keymap.
Restoring the old code for the icon-less case fixes the problem.

There still may be a problem drawing labels on buttons with icons, but, the code
should behave the same as it did in hrev46580 for that case, which is when
buttons with icons was introduced.