DiskUsage: TabView flush to window border
http://postimg.org/image/izae7h1qd/
This commit is contained in:
@@ -138,6 +138,7 @@ ControlsView::VolumeTabView::VolumeTabView()
|
|||||||
:
|
:
|
||||||
BTabView("volume_tabs", B_WIDTH_FROM_LABEL)
|
BTabView("volume_tabs", B_WIDTH_FROM_LABEL)
|
||||||
{
|
{
|
||||||
|
SetBorder(B_NO_BORDER);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -35,7 +35,7 @@ MainWindow::MainWindow(BRect pieRect)
|
|||||||
|
|
||||||
AddChild(BLayoutBuilder::Group<>(B_VERTICAL)
|
AddChild(BLayoutBuilder::Group<>(B_VERTICAL)
|
||||||
.Add(fControlsView)
|
.Add(fControlsView)
|
||||||
.SetInsets(5, 5, 5, 5)
|
.SetInsets(0, B_USE_WINDOW_INSETS, 0, 0)
|
||||||
);
|
);
|
||||||
float maxHeight = BScreen(this).Frame().Height() - 12;
|
float maxHeight = BScreen(this).Frame().Height() - 12;
|
||||||
fControlsView->SetExplicitMaxSize(BSize(maxHeight, maxHeight));
|
fControlsView->SetExplicitMaxSize(BSize(maxHeight, maxHeight));
|
||||||
|
|||||||
Reference in New Issue
Block a user