Mail: corrected spacing after window spacing change.
* The button panel shouldn't be indented at all. * The header panel was intented twice, once by the surrounding layout, once by its own.
This commit is contained in:
@@ -402,7 +402,6 @@ THeaderView::THeaderView(bool incoming, bool resending, int32 defaultAccount)
|
|||||||
|
|
||||||
BGridLayout* layout = GridLayout();
|
BGridLayout* layout = GridLayout();
|
||||||
|
|
||||||
layout->SetInsets(B_USE_DEFAULT_SPACING);
|
|
||||||
if (fIncoming)
|
if (fIncoming)
|
||||||
layout->SetHorizontalSpacing(0);
|
layout->SetHorizontalSpacing(0);
|
||||||
layout->SetVerticalSpacing(B_USE_HALF_ITEM_SPACING);
|
layout->SetVerticalSpacing(B_USE_HALF_ITEM_SPACING);
|
||||||
|
|||||||
@@ -557,11 +557,11 @@ TMailWindow::TMailWindow(BRect rect, const char* title, TMailApp* app,
|
|||||||
|
|
||||||
BLayoutBuilder::Group<>(this, B_VERTICAL, 0)
|
BLayoutBuilder::Group<>(this, B_VERTICAL, 0)
|
||||||
.Add(fMenuBar)
|
.Add(fMenuBar)
|
||||||
|
.Add(fToolBar)
|
||||||
.AddGroup(B_VERTICAL, 0)
|
.AddGroup(B_VERTICAL, 0)
|
||||||
.Add(fToolBar)
|
|
||||||
.Add(fHeaderView)
|
.Add(fHeaderView)
|
||||||
.SetInsets(B_USE_WINDOW_SPACING, 0, B_USE_WINDOW_SPACING, 0)
|
.SetInsets(B_USE_WINDOW_SPACING, B_USE_DEFAULT_SPACING)
|
||||||
.End()
|
.End()
|
||||||
.Add(fContentView);
|
.Add(fContentView);
|
||||||
|
|
||||||
if (to != NULL)
|
if (to != NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user