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:
Joachim Seemer 2011-04-05 17:37:56 +00:00
parent 329daa448d
commit 9f1c3cfece
1 changed files with 7 additions and 5 deletions

View File

@ -34,6 +34,7 @@
#include <MessageFilter.h>
#include <Path.h>
#include <Roster.h>
#include <SpaceLayoutItem.h>
#include <String.h>
#include <StringView.h>
#include <TextControl.h>
@ -190,17 +191,18 @@ ScreenshotWindow::ScreenshotWindow(const Utility& utility, bool silent,
new BMessage(kSaveScreenshot));
fPreview = new PreviewView();
BGridLayout* gridLayout = BGridLayoutBuilder(0.0, 5.0)
.Add(fDelayControl->CreateLabelLayoutItem(), 0, 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->CreateTextViewLayoutItem(), 1, 1, 2, 1)
.Add(fNameControl->CreateTextViewLayoutItem(), 1, 1, 3, 1)
.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->CreateMenuBarLayoutItem(), 1, 3, 2, 1);
.Add(menuFormat->CreateMenuBarLayoutItem(), 1, 3, 3, 1);
gridLayout->SetMinColumnWidth(1,
menuFormat->StringWidth("SomethingLongHere"));