DiskUsage: TabView flush to window border

http://postimg.org/image/izae7h1qd/
This commit is contained in:
John Scipione
2015-03-06 13:51:55 -05:00
parent 1b53ff0784
commit 57ee63a5e5
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -138,6 +138,7 @@ ControlsView::VolumeTabView::VolumeTabView()
:
BTabView("volume_tabs", B_WIDTH_FROM_LABEL)
{
SetBorder(B_NO_BORDER);
}
+1 -1
View File
@@ -35,7 +35,7 @@ MainWindow::MainWindow(BRect pieRect)
AddChild(BLayoutBuilder::Group<>(B_VERTICAL)
.Add(fControlsView)
.SetInsets(5, 5, 5, 5)
.SetInsets(0, B_USE_WINDOW_INSETS, 0, 0)
);
float maxHeight = BScreen(this).Frame().Height() - 12;
fControlsView->SetExplicitMaxSize(BSize(maxHeight, maxHeight));