BScrollView: Resize scrollbars dynamically based on target's B_SUPPORTS_LAYOUT...

...instead of the BScrollView itself's layout flag. Thanks to Adrien and
Kacper for discussion on the mailing list.
This commit is contained in:
Augustin Cavalier
2019-01-27 14:35:32 -05:00
parent b2d62af35a
commit 4854630d29
2 changed files with 13 additions and 10 deletions
+2 -1
View File
@@ -113,7 +113,8 @@ private:
bool vertical, border_style border,
uint32 borders);
static float _BorderSize(border_style border);
static int32 _ModifyFlags(int32 flags, border_style border);
static uint32 _ModifyFlags(uint32 flags, BView* target,
border_style border);
static void _InsetBorders(BRect& frame, border_style border,
uint32 borders, bool expand = false);
private: