Ticket #6676: FileType_addon_window.diff
File FileType_addon_window.diff, 1.8 KB (added by , 14 years ago) |
---|
-
src/preferences/filetypes/ApplicationTypeWindow.cpp
305 305 fBackgroundAppCheckBox = new BCheckBox("background", 306 306 B_TRANSLATE("Background app"), new BMessage(kMsgAppFlagsChanged)); 307 307 308 flagsBox->AddChild(BGridLayoutBuilder( )308 flagsBox->AddChild(BGridLayoutBuilder(0, 0) 309 309 .Add(fSingleLaunchButton, 0, 0).Add(fArgsOnlyCheckBox, 1, 0) 310 310 .Add(fMultipleLaunchButton, 0, 1).Add(fBackgroundAppCheckBox, 1, 1) 311 311 .Add(fExclusiveLaunchButton, 0, 2) 312 .SetInsets(padding, padding , padding, padding)312 .SetInsets(padding, padding / 2, padding, padding) 313 313 .View()); 314 314 flagsBox->SetLabel(fFlagsCheckBox); 315 315 … … 352 352 .Add(fAddTypeButton, 1, 0, 1, 2) 353 353 .Add(fRemoveTypeButton, 1, 2, 1, 2) 354 354 .Add(iconHolder, 2, 1, 1, 2) 355 .SetInsets(padding, padding , padding, padding)355 .SetInsets(padding, padding / 2, padding, padding) 356 356 .SetColumnWeight(0, 3) 357 357 .SetColumnWeight(1, 2) 358 358 .SetColumnWeight(2, 1) … … 409 409 minScrollSize.width += fLongDescriptionView->MinSize().width; 410 410 scrollView->SetExplicitMinSize(minScrollSize); 411 411 412 versionBox->AddChild(BGridLayoutBuilder( padding / 2, padding)412 versionBox->AddChild(BGridLayoutBuilder(0, padding / 2) 413 413 .Add(fMajorVersionControl->CreateLabelLayoutItem(), 0, 0) 414 414 .Add(fMajorVersionControl->CreateTextViewLayoutItem(), 1, 0) 415 415 .Add(fMiddleVersionControl, 2, 0, 2) … … 420 420 .Add(fShortDescriptionControl->CreateTextViewLayoutItem(), 1, 1, 10) 421 421 .Add(longLabel, 0, 2) 422 422 .Add(scrollView, 1, 2, 10, 3) 423 .SetInsets(padding, padding , padding, padding)423 .SetInsets(padding, padding / 2, padding, padding) 424 424 .SetRowWeight(3, 3) 425 425 .View()); 426 426