Patch by Jeroen Oortwijn: Improve the tab-key focus-cycle ordering of the
Tracker Settings window. Thanks a lot! Fixes ticket #4051. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31339 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c85220c63a
commit
f3797c5ae5
@ -90,7 +90,6 @@ TrackerSettingsWindow::TrackerSettingsWindow()
|
||||
fDefaultsButton->ResizeToPreferred();
|
||||
fDefaultsButton->SetEnabled(false);
|
||||
fDefaultsButton->MoveBy(0, -fDefaultsButton->Bounds().Height());
|
||||
topView->AddChild(fDefaultsButton);
|
||||
|
||||
rect = fDefaultsButton->Frame();
|
||||
rect.left = rect.right + 10;
|
||||
@ -98,7 +97,6 @@ TrackerSettingsWindow::TrackerSettingsWindow()
|
||||
new BMessage(kRevertButtonPressed), B_FOLLOW_LEFT | B_FOLLOW_BOTTOM);
|
||||
fRevertButton->SetEnabled(false);
|
||||
fRevertButton->ResizeToPreferred();
|
||||
topView->AddChild(fRevertButton);
|
||||
|
||||
rect = scrollView->Frame();
|
||||
rect.left = rect.right + 10;
|
||||
@ -106,6 +104,8 @@ TrackerSettingsWindow::TrackerSettingsWindow()
|
||||
rect.bottom = fDefaultsButton->Frame().top - 10;
|
||||
fSettingsContainerBox = new BBox(rect, NULL, B_FOLLOW_ALL);
|
||||
topView->AddChild(fSettingsContainerBox);
|
||||
topView->AddChild(fDefaultsButton);
|
||||
topView->AddChild(fRevertButton);
|
||||
|
||||
rect = _SettingsFrame();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user