mirror of
https://review.haiku-os.org/haiku
synced 2025-02-07 22:35:26 +01:00
Added a bit of space in front of the 'seconds' string.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41185 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
329daa448d
commit
9f1c3cfece
@ -34,6 +34,7 @@
|
|||||||
#include <MessageFilter.h>
|
#include <MessageFilter.h>
|
||||||
#include <Path.h>
|
#include <Path.h>
|
||||||
#include <Roster.h>
|
#include <Roster.h>
|
||||||
|
#include <SpaceLayoutItem.h>
|
||||||
#include <String.h>
|
#include <String.h>
|
||||||
#include <StringView.h>
|
#include <StringView.h>
|
||||||
#include <TextControl.h>
|
#include <TextControl.h>
|
||||||
@ -190,17 +191,18 @@ ScreenshotWindow::ScreenshotWindow(const Utility& utility, bool silent,
|
|||||||
new BMessage(kSaveScreenshot));
|
new BMessage(kSaveScreenshot));
|
||||||
|
|
||||||
fPreview = new PreviewView();
|
fPreview = new PreviewView();
|
||||||
|
|
||||||
BGridLayout* gridLayout = BGridLayoutBuilder(0.0, 5.0)
|
BGridLayout* gridLayout = BGridLayoutBuilder(0.0, 5.0)
|
||||||
.Add(fDelayControl->CreateLabelLayoutItem(), 0, 0)
|
.Add(fDelayControl->CreateLabelLayoutItem(), 0, 0)
|
||||||
.Add(fDelayControl->CreateTextViewLayoutItem(), 1, 0)
|
.Add(fDelayControl->CreateTextViewLayoutItem(), 1, 0)
|
||||||
.Add(seconds, 2, 0)
|
.Add(BSpaceLayoutItem::CreateHorizontalStrut(5), 2, 0)
|
||||||
|
.Add(seconds, 3, 0)
|
||||||
.Add(fNameControl->CreateLabelLayoutItem(), 0, 1)
|
.Add(fNameControl->CreateLabelLayoutItem(), 0, 1)
|
||||||
.Add(fNameControl->CreateTextViewLayoutItem(), 1, 1, 2, 1)
|
.Add(fNameControl->CreateTextViewLayoutItem(), 1, 1, 3, 1)
|
||||||
.Add(menuLocation->CreateLabelLayoutItem(), 0, 2)
|
.Add(menuLocation->CreateLabelLayoutItem(), 0, 2)
|
||||||
.Add(menuLocation->CreateMenuBarLayoutItem(), 1, 2, 2, 1)
|
.Add(menuLocation->CreateMenuBarLayoutItem(), 1, 2, 3, 1)
|
||||||
.Add(menuFormat->CreateLabelLayoutItem(), 0, 3)
|
.Add(menuFormat->CreateLabelLayoutItem(), 0, 3)
|
||||||
.Add(menuFormat->CreateMenuBarLayoutItem(), 1, 3, 2, 1);
|
.Add(menuFormat->CreateMenuBarLayoutItem(), 1, 3, 3, 1);
|
||||||
|
|
||||||
gridLayout->SetMinColumnWidth(1,
|
gridLayout->SetMinColumnWidth(1,
|
||||||
menuFormat->StringWidth("SomethingLongHere"));
|
menuFormat->StringWidth("SomethingLongHere"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user