* refactor _Init and DoLayout to share some code
* DoLayout did not work as expected, after the call the scrollbars would have an 1px offset inside the target * the target needs to be resized while setting a new border, otherwise it would overlap the border and give some drawing artefacts - I'm still unsure if the behavior change introduced with the layout stuff is nice git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29103 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -92,6 +92,8 @@ private:
|
||||
BRect _InnerFrame() const;
|
||||
BSize _ComputeSize(BSize targetSize) const;
|
||||
BRect _ComputeFrame(BRect targetRect) const;
|
||||
void _AlignScrollBars(bool horizontal, bool vertical,
|
||||
BRect targetFrame);
|
||||
|
||||
static BRect _ComputeFrame(BRect frame, bool horizontal,
|
||||
bool vertical, border_style border);
|
||||
|
||||
Reference in New Issue
Block a user