The protocol config view now adds some glue at the bottom.
* This makes all boxes fill the complete height of the window. * The SMTP add-on did that itself which makes no sense.
This commit is contained in:
parent
4235da3061
commit
fa587d2956
@ -11,7 +11,6 @@
|
|||||||
#include <GridLayout.h>
|
#include <GridLayout.h>
|
||||||
#include <MailFilter.h>
|
#include <MailFilter.h>
|
||||||
#include <MenuField.h>
|
#include <MenuField.h>
|
||||||
#include <SpaceLayoutItem.h>
|
|
||||||
#include <TextControl.h>
|
#include <TextControl.h>
|
||||||
|
|
||||||
#include <FileConfigView.h>
|
#include <FileConfigView.h>
|
||||||
@ -73,8 +72,6 @@ SMTPConfigView::SMTPConfigView(const BMailAccountSettings& settings)
|
|||||||
|
|
||||||
Layout()->AddView(fFileView, 0, Layout()->CountRows(),
|
Layout()->AddView(fFileView, 0, Layout()->CountRows(),
|
||||||
Layout()->CountColumns());
|
Layout()->CountColumns());
|
||||||
Layout()->AddItem(BSpaceLayoutItem::CreateGlue(), 0, Layout()->CountRows());
|
|
||||||
Layout()->SetRowWeight(Layout()->CountRows() - 1, 1.0f);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -147,7 +147,8 @@ ProtocolSettingsView::ProtocolSettingsView(const entry_ref& ref,
|
|||||||
|
|
||||||
BLayoutBuilder::Group<>(contents, B_VERTICAL)
|
BLayoutBuilder::Group<>(contents, B_VERTICAL)
|
||||||
.SetInsets(B_USE_DEFAULT_SPACING)
|
.SetInsets(B_USE_DEFAULT_SPACING)
|
||||||
.Add(view);
|
.Add(view)
|
||||||
|
.AddGlue();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user