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:
parent
3c9d8d6460
commit
28da8a4c90
@ -402,7 +402,6 @@ THeaderView::THeaderView(bool incoming, bool resending, int32 defaultAccount)
|
||||
|
||||
BGridLayout* layout = GridLayout();
|
||||
|
||||
layout->SetInsets(B_USE_DEFAULT_SPACING);
|
||||
if (fIncoming)
|
||||
layout->SetHorizontalSpacing(0);
|
||||
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)
|
||||
.Add(fMenuBar)
|
||||
.Add(fToolBar)
|
||||
.AddGroup(B_VERTICAL, 0)
|
||||
.Add(fToolBar)
|
||||
.Add(fHeaderView)
|
||||
.SetInsets(B_USE_WINDOW_SPACING, 0, B_USE_WINDOW_SPACING, 0)
|
||||
.End()
|
||||
.SetInsets(B_USE_WINDOW_SPACING, B_USE_DEFAULT_SPACING)
|
||||
.End()
|
||||
.Add(fContentView);
|
||||
|
||||
if (to != NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user