Ticket #4051: changetaborder.patch

File changetaborder.patch, 1.1 KB (added by idefix, 13 years ago)

Patch to change tab order in 'Tracker Preferences'-window.

  • src/kits/tracker/TrackerSettingsWindow.cpp

     
    9090    fDefaultsButton->ResizeToPreferred();
    9191    fDefaultsButton->SetEnabled(false);
    9292    fDefaultsButton->MoveBy(0, -fDefaultsButton->Bounds().Height());
    93     topView->AddChild(fDefaultsButton);
    9493
    9594    rect = fDefaultsButton->Frame();
    9695    rect.left = rect.right + 10;
     
    9897        new BMessage(kRevertButtonPressed), B_FOLLOW_LEFT | B_FOLLOW_BOTTOM);
    9998    fRevertButton->SetEnabled(false);
    10099    fRevertButton->ResizeToPreferred();
    101     topView->AddChild(fRevertButton);
    102100
    103101    rect = scrollView->Frame();
    104102    rect.left = rect.right + 10;
     
    106104    rect.bottom = fDefaultsButton->Frame().top - 10;
    107105    fSettingsContainerBox = new BBox(rect, NULL, B_FOLLOW_ALL);
    108106    topView->AddChild(fSettingsContainerBox);
     107    topView->AddChild(fDefaultsButton);
     108    topView->AddChild(fRevertButton);
    109109
    110110    rect = _SettingsFrame();
    111111