WebPositive: Fix/rearrange elements in Settings window.
The Browse button was misplaced when the "Start up" setting was introduced recently. Moving it back into the "Download folder" row. Move the "Download folder" row to the bottom of the group. Have the text field of the days-of-history BSpinner not stretch the whole window width. Change-Id: I00260126cf7594f435899fa821e8bf79bb475ba8 Reviewed-on: https://review.haiku-os.org/c/1110 Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
@@ -377,12 +377,12 @@ SettingsWindow::_CreateGeneralPage(float spacing)
|
||||
.Add(fNewWindowBehaviorMenu->CreateLabelLayoutItem(), 0, 3)
|
||||
.Add(fNewWindowBehaviorMenu->CreateMenuBarLayoutItem(), 1, 3)
|
||||
|
||||
.Add(fDownloadFolderControl->CreateLabelLayoutItem(), 0, 4)
|
||||
.Add(fDownloadFolderControl->CreateTextViewLayoutItem(), 1, 4)
|
||||
.Add(fChooseButton, 2, 3)
|
||||
.Add(fNewTabBehaviorMenu->CreateLabelLayoutItem(), 0, 4)
|
||||
.Add(fNewTabBehaviorMenu->CreateMenuBarLayoutItem(), 1, 4)
|
||||
|
||||
.Add(fNewTabBehaviorMenu->CreateLabelLayoutItem(), 0, 5)
|
||||
.Add(fNewTabBehaviorMenu->CreateMenuBarLayoutItem(), 1, 5)
|
||||
.Add(fDownloadFolderControl->CreateLabelLayoutItem(), 0, 5)
|
||||
.Add(fDownloadFolderControl->CreateTextViewLayoutItem(), 1, 5)
|
||||
.Add(fChooseButton, 2, 5)
|
||||
)
|
||||
.Add(BSpaceLayoutItem::CreateVerticalStrut(spacing))
|
||||
.Add(new BSeparatorView(B_HORIZONTAL, B_PLAIN_BORDER))
|
||||
@@ -393,7 +393,10 @@ SettingsWindow::_CreateGeneralPage(float spacing)
|
||||
.Add(fShowHomeButton)
|
||||
.Add(BSpaceLayoutItem::CreateVerticalStrut(spacing))
|
||||
|
||||
.Add(fDaysInHistory)
|
||||
.AddGroup(B_HORIZONTAL)
|
||||
.Add(fDaysInHistory)
|
||||
.AddGlue()
|
||||
.End()
|
||||
.AddGlue()
|
||||
.SetInsets(B_USE_WINDOW_SPACING, B_USE_WINDOW_SPACING,
|
||||
B_USE_WINDOW_SPACING, B_USE_DEFAULT_SPACING)
|
||||
|
||||
Reference in New Issue
Block a user