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