Browse Source

Support null-values

master
Konstantin Bulenkov 11 years ago
parent
commit
44dfb81039
  1. 3
      src/com/bulenkov/darcula/DarculaLaf.java

3
src/com/bulenkov/darcula/DarculaLaf.java

@ -218,6 +218,9 @@ public final class DarculaLaf extends BasicLookAndFeel {
}
private static Object parseValue(String key, String value) {
if ("null".equals(value)) {
return null;
}
if (key.endsWith("Insets")) {
final List<String> numbers = StringUtil.split(value, ",");
return new InsetsUIResource(Integer.parseInt(numbers.get(0)),

Loading…
Cancel
Save