mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-217779 Set the minimum window size for Settings dialog depending on the tab content
GitOrigin-RevId: 2b548f4d5b5d1408fc4c6934a97fc1a1f53eefa0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
709b814b62
commit
ccb108690b
@@ -19,6 +19,7 @@ import com.intellij.openapi.util.registry.Registry;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.ui.IdeUICustomization;
|
||||
import com.intellij.ui.SearchTextField.FindAction;
|
||||
import com.intellij.util.ui.JBDimension;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
@@ -91,6 +92,9 @@ public class SettingsDialog extends DialogWrapper implements DataProvider {
|
||||
}
|
||||
|
||||
init();
|
||||
if (configurable == null) {
|
||||
getPeer().getRootPane().setMinimumSize(new JBDimension(900, 700));
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user