the triangle thumb has 45 degree edges this was, which just look much cleaner
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13467 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
65799d5bbf
commit
21027896c8
@ -1111,12 +1111,10 @@ BSlider::ThumbFrame() const
|
||||
if (Orientation() == B_HORIZONTAL) {
|
||||
frame.left = (float)floor(Position() * (_MaxPosition() - _MinPosition()) +
|
||||
_MinPosition()) - 6;
|
||||
// TODO: seems this was removed...
|
||||
// frame.top = 8.0f + (Label() ? textHeight + 4.0f : 0.0f);
|
||||
frame.right = frame.left + 12.0f;
|
||||
frame.bottom = frame.bottom - 2.0f -
|
||||
(MinLimitLabel() || MaxLimitLabel() ? textHeight + 4.0f : 0.0f);
|
||||
frame.top = frame.bottom - 7.0f;
|
||||
frame.top = frame.bottom - 8.0f;
|
||||
} else {
|
||||
frame.left = floor((frame.Width() - fBarThickness) / 2.0f) - 3;
|
||||
frame.top = (float)floor(Position() * (_MaxPosition() - _MinPosition())) +
|
||||
|
Loading…
Reference in New Issue
Block a user