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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user