BTabView: Change layout constructor to default to B_WIDTH_FROM_WIDEST.

This seems to fit the "spirit of layout" better.

Change-Id: I7a75b58de4c9f703d828cdd292b7b91ee720c135
Reviewed-on: https://review.haiku-os.org/c/891
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
Augustin Cavalier 2019-01-22 13:04:44 -05:00 committed by waddlesplash
parent 23bdc3d636
commit 2502d45aca

View File

@ -94,7 +94,7 @@ public:
};
BTabView(const char* name,
button_width width = B_WIDTH_AS_USUAL,
button_width width = B_WIDTH_FROM_WIDEST,
uint32 flags = B_FULL_UPDATE_ON_RESIZE
| B_WILL_DRAW | B_NAVIGABLE_JUMP
| B_FRAME_EVENTS | B_NAVIGABLE);