FileTypes: fix layout of the FileTypeWindow.

* Fixes #10359.
* Thanks to Laurent Chea for investigating and identifying the problem.
His patch was not used because it makes more changes than needed.
This commit is contained in:
Adrien Destugues 2014-12-09 09:50:54 +01:00
parent ae0218ed54
commit 0edd73e467

View File

@ -116,7 +116,7 @@ FileTypeWindow::FileTypeWindow(BPoint position, const BMessage& refs)
BLayoutBuilder::Grid<>(preferredBox, padding, padding / 2) BLayoutBuilder::Grid<>(preferredBox, padding, padding / 2)
.SetInsets(padding, padding * 2, padding, padding) .SetInsets(padding, padding * 2, padding, padding)
.Add(fPreferredField, 0, 0, 3, 1) .Add(fPreferredField, 0, 0, 2, 1)
.Add(fSelectAppButton, 0, 1) .Add(fSelectAppButton, 0, 1)
.Add(fSameAppAsButton, 1, 1); .Add(fSameAppAsButton, 1, 1);