Move the dragger back to its corner on resize.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23857 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
0abb35c2fc
commit
c09b3a97dc
@ -581,6 +581,11 @@ SudokuView::FrameResized(float /*width*/, float /*height*/)
|
||||
fHintFont.GetHeight(&fontHeight);
|
||||
fHintBaseline = ceilf(fontHeight.ascent) / 2
|
||||
+ (fHintHeight - ceilf(fontHeight.descent)) / 2;
|
||||
|
||||
// fix the dragger's position
|
||||
BView *dragger = FindView("_dragger_");
|
||||
if (dragger)
|
||||
dragger->MoveTo(Bounds().right - 7, Bounds().bottom - 7);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user