Layout fixes that hadn't yet been committed.
git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@548 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
parent
0e12634991
commit
26bc163200
@ -136,9 +136,9 @@ bool AuthenticationPanel::getAuthentication(const BString& text,
|
||||
m_rememberCredentialsCheckBox->SetValue(previousRememberCredentials);
|
||||
|
||||
// create layout
|
||||
SetLayout(new BGroupLayout(B_VERTICAL));
|
||||
SetLayout(new BGroupLayout(B_VERTICAL, 0.0));
|
||||
float spacing = be_control_look->DefaultItemSpacing();
|
||||
AddChild(BGroupLayoutBuilder(B_VERTICAL)
|
||||
AddChild(BGroupLayoutBuilder(B_VERTICAL, 0.0)
|
||||
.Add(BGridLayoutBuilder(0, spacing)
|
||||
.Add(textView, 0, 0, 2)
|
||||
.Add(m_usernameTextControl->CreateLabelLayoutItem(), 0, 1)
|
||||
|
@ -420,7 +420,7 @@ BrowserWindow::BrowserWindow(BRect frame, SettingsMessage* appSettings,
|
||||
fFindCloseButton = new BButton("Close",
|
||||
new BMessage(EDIT_HIDE_FIND_GROUP));
|
||||
fFindCaseSensitiveCheckBox = new BCheckBox("Match case");
|
||||
BGroupLayout* findGroup = BLayoutBuilder::Group<>(B_VERTICAL)
|
||||
BGroupLayout* findGroup = BLayoutBuilder::Group<>(B_VERTICAL, 0.0)
|
||||
.Add(new BSeparatorView(B_HORIZONTAL, B_PLAIN_BORDER))
|
||||
.Add(BGroupLayoutBuilder(B_HORIZONTAL, kElementSpacing)
|
||||
.Add(fFindTextControl)
|
||||
@ -435,7 +435,7 @@ BrowserWindow::BrowserWindow(BRect frame, SettingsMessage* appSettings,
|
||||
;
|
||||
|
||||
// Navigation group
|
||||
BGroupLayout* navigationGroup = BLayoutBuilder::Group<>(B_VERTICAL)
|
||||
BGroupLayout* navigationGroup = BLayoutBuilder::Group<>(B_VERTICAL, 0.0)
|
||||
.Add(BLayoutBuilder::Group<>(B_HORIZONTAL, kElementSpacing)
|
||||
.Add(fBackButton)
|
||||
.Add(fForwardButton)
|
||||
@ -449,7 +449,7 @@ BrowserWindow::BrowserWindow(BRect frame, SettingsMessage* appSettings,
|
||||
;
|
||||
|
||||
// Status bar group
|
||||
BGroupLayout* statusGroup = BLayoutBuilder::Group<>(B_VERTICAL)
|
||||
BGroupLayout* statusGroup = BLayoutBuilder::Group<>(B_VERTICAL, 0.0)
|
||||
.Add(new BSeparatorView(B_HORIZONTAL, B_PLAIN_BORDER))
|
||||
.Add(BLayoutBuilder::Group<>(B_HORIZONTAL, kElementSpacing)
|
||||
.Add(fStatusText)
|
||||
@ -470,7 +470,7 @@ BrowserWindow::BrowserWindow(BRect frame, SettingsMessage* appSettings,
|
||||
;
|
||||
|
||||
// Layout
|
||||
AddChild(BLayoutBuilder::Group<>(B_VERTICAL)
|
||||
AddChild(BLayoutBuilder::Group<>(B_VERTICAL, 0.0)
|
||||
#if !INTEGRATE_MENU_INTO_TAB_BAR
|
||||
.Add(menuBarGroup)
|
||||
#endif
|
||||
|
@ -66,7 +66,7 @@ class DownloadsContainerView : public BGroupView {
|
||||
public:
|
||||
DownloadsContainerView()
|
||||
:
|
||||
BGroupView(B_VERTICAL)
|
||||
BGroupView(B_VERTICAL, 0.0)
|
||||
{
|
||||
SetFlags(Flags() | B_PULSE_NEEDED);
|
||||
SetViewColor(245, 245, 245);
|
||||
@ -149,7 +149,7 @@ DownloadWindow::DownloadWindow(BRect frame, bool visible,
|
||||
downloadPath.Path());
|
||||
settings->SetValue(kSettingsKeyDownloadPath, fDownloadPath);
|
||||
|
||||
SetLayout(new BGroupLayout(B_VERTICAL));
|
||||
SetLayout(new BGroupLayout(B_VERTICAL, 0.0));
|
||||
|
||||
DownloadsContainerView* downloadsGroupView = new DownloadsContainerView();
|
||||
fDownloadViewsLayout = downloadsGroupView->GroupLayout();
|
||||
@ -180,7 +180,7 @@ DownloadWindow::DownloadWindow(BRect frame, bool visible,
|
||||
|
||||
const float spacing = be_control_look->DefaultItemSpacing();
|
||||
|
||||
AddChild(BGroupLayoutBuilder(B_VERTICAL)
|
||||
AddChild(BGroupLayoutBuilder(B_VERTICAL, 0.0)
|
||||
.Add(menuBar)
|
||||
.Add(fDownloadsScrollView)
|
||||
.Add(new BSeparatorView(B_HORIZONTAL, B_PLAIN_BORDER))
|
||||
|
@ -540,7 +540,7 @@ private:
|
||||
|
||||
URLInputGroup::URLInputGroup(BMessage* goMessage)
|
||||
:
|
||||
BGroupView(B_HORIZONTAL),
|
||||
BGroupView(B_HORIZONTAL, 0.0),
|
||||
fWindowActive(false)
|
||||
{
|
||||
GroupLayout()->SetInsets(2, 2, 2, 2);
|
||||
|
@ -49,7 +49,7 @@ static const float kLeftTabInset = 4;
|
||||
|
||||
TabContainerView::TabContainerView(Controller* controller)
|
||||
:
|
||||
BGroupView(B_HORIZONTAL),
|
||||
BGroupView(B_HORIZONTAL, 0.0),
|
||||
fLastMouseEventTab(NULL),
|
||||
fMouseDown(false),
|
||||
fClickCount(0),
|
||||
|
@ -197,7 +197,7 @@ class TabContainerGroup : public BGroupView {
|
||||
public:
|
||||
TabContainerGroup(TabContainerView* tabContainerView)
|
||||
:
|
||||
BGroupView(B_HORIZONTAL),
|
||||
BGroupView(B_HORIZONTAL, 0.0),
|
||||
fTabContainerView(tabContainerView),
|
||||
fScrollLeftTabButton(NULL),
|
||||
fScrollRightTabButton(NULL)
|
||||
@ -263,7 +263,7 @@ class TabButtonContainer : public BGroupView {
|
||||
public:
|
||||
TabButtonContainer()
|
||||
:
|
||||
BGroupView(B_HORIZONTAL)
|
||||
BGroupView(B_HORIZONTAL, 0.0)
|
||||
{
|
||||
SetFlags(Flags() | B_WILL_DRAW);
|
||||
SetViewColor(B_TRANSPARENT_COLOR);
|
||||
|
Loading…
Reference in New Issue
Block a user