First part of a patch sent by Clemens zeidler:

* The BMediaTheme now uses B_WIDTH_FROM_LABEL for tabs in tabviews, 
  this makes tabs as wide as they need to be.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23868 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2008-02-05 08:04:03 +00:00
parent 034e2b7f94
commit 00f378126a

View File

@ -67,7 +67,7 @@ class GroupView : public BView {
class TabView : public BTabView {
public:
TabView(BRect frame, const char *name, button_width width = B_WIDTH_AS_USUAL,
TabView(BRect frame, const char *name, button_width width = B_WIDTH_FROM_LABEL,
uint32 resizingMode = B_FOLLOW_ALL, uint32 flags = B_FULL_UPDATE_ON_RESIZE
| B_WILL_DRAW | B_NAVIGABLE_JUMP | B_FRAME_EVENTS | B_NAVIGABLE);