FindPanel: Set the MIME type field to fixed width
...instead of based on the width of its contents which can make the window grow too wide. Fixes #9719
This commit is contained in:
@@ -862,7 +862,9 @@ FindPanel::FindPanel(BFile* node, FindWindow* parent, bool fromTemplate,
|
||||
else
|
||||
AddByAttributeItems(node);
|
||||
|
||||
ResizeMenuField(fMimeTypeField);
|
||||
fMimeTypeField->SetExplicitSize(
|
||||
BSize(be_control_look->DefaultItemSpacing() * 20, B_SIZE_UNSET));
|
||||
// ResizeMenuField() makes fMimeTypeField too wide.
|
||||
ResizeMenuField(searchModeField);
|
||||
ResizeMenuField(volumeField);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user