Ticket #6676: FileType_addon_window.diff

File FileType_addon_window.diff, 1.8 KB (added by humdinger, 14 years ago)

The patch

  • src/preferences/filetypes/ApplicationTypeWindow.cpp

     
    305305    fBackgroundAppCheckBox = new BCheckBox("background",
    306306        B_TRANSLATE("Background app"), new BMessage(kMsgAppFlagsChanged));
    307307
    308     flagsBox->AddChild(BGridLayoutBuilder()
     308    flagsBox->AddChild(BGridLayoutBuilder(0, 0)
    309309        .Add(fSingleLaunchButton, 0, 0).Add(fArgsOnlyCheckBox, 1, 0)
    310310        .Add(fMultipleLaunchButton, 0, 1).Add(fBackgroundAppCheckBox, 1, 1)
    311311        .Add(fExclusiveLaunchButton, 0, 2)
    312         .SetInsets(padding, padding, padding, padding)
     312        .SetInsets(padding, padding / 2, padding, padding)
    313313        .View());
    314314    flagsBox->SetLabel(fFlagsCheckBox);
    315315
     
    352352        .Add(fAddTypeButton, 1, 0, 1, 2)
    353353        .Add(fRemoveTypeButton, 1, 2, 1, 2)
    354354        .Add(iconHolder, 2, 1, 1, 2)
    355         .SetInsets(padding, padding, padding, padding)
     355        .SetInsets(padding, padding / 2, padding, padding)
    356356        .SetColumnWeight(0, 3)
    357357        .SetColumnWeight(1, 2)
    358358        .SetColumnWeight(2, 1)
     
    409409    minScrollSize.width += fLongDescriptionView->MinSize().width;
    410410    scrollView->SetExplicitMinSize(minScrollSize);
    411411
    412     versionBox->AddChild(BGridLayoutBuilder(padding / 2, padding)
     412    versionBox->AddChild(BGridLayoutBuilder(0, padding / 2)
    413413        .Add(fMajorVersionControl->CreateLabelLayoutItem(), 0, 0)
    414414        .Add(fMajorVersionControl->CreateTextViewLayoutItem(), 1, 0)
    415415        .Add(fMiddleVersionControl, 2, 0, 2)
     
    420420        .Add(fShortDescriptionControl->CreateTextViewLayoutItem(), 1, 1, 10)
    421421        .Add(longLabel, 0, 2)
    422422        .Add(scrollView, 1, 2, 10, 3)
    423         .SetInsets(padding, padding, padding, padding)
     423        .SetInsets(padding, padding / 2, padding, padding)
    424424        .SetRowWeight(3, 3)
    425425        .View());
    426426