fix linux-specific component layout issue in import and preferences dialogs.