mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
bug with setting default titled border in internal mode
This commit is contained in:
+2
-1
@@ -861,7 +861,8 @@ public class AsmCodeGenerator {
|
||||
Type borderFactoryType = ourBorderFactoryType;
|
||||
StringDescriptor borderFactoryValue = (StringDescriptor)container.getDelegeeClientProperties().get(ourBorderFactoryClientProperty);
|
||||
if (borderFactoryValue == null && Boolean.valueOf(System.getProperty("idea.is.internal")).booleanValue()) {
|
||||
container.getDelegeeClientProperties().put(ourBorderFactoryClientProperty, StringDescriptor.create("com.intellij.ui.IdeBorderFactory$PlainSmallWithIndent"));
|
||||
borderFactoryValue = StringDescriptor.create("com.intellij.ui.IdeBorderFactory$PlainSmallWithIndent");
|
||||
container.getDelegeeClientProperties().put(ourBorderFactoryClientProperty, borderFactoryValue);
|
||||
}
|
||||
if (borderFactoryValue != null && borderFactoryValue.getValue().length() != 0) {
|
||||
borderFactoryType = typeFromClassName(borderFactoryValue.getValue());
|
||||
|
||||
Reference in New Issue
Block a user