mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
padding in UI Designer property renderers and editors (IDEA-69195)
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ public abstract class AbstractTextFieldEditor<V> extends PropertyEditor<V> {
|
||||
}
|
||||
}
|
||||
else{
|
||||
myTf.setBorder(null);
|
||||
myTf.setBorder(BorderFactory.createEmptyBorder(0, 4, 0, 0));
|
||||
}
|
||||
|
||||
return myTf;
|
||||
|
||||
+1
@@ -35,6 +35,7 @@ public class LabelPropertyRenderer<V> extends JLabel implements PropertyRenderer
|
||||
public LabelPropertyRenderer() {
|
||||
setOpaque(true);
|
||||
putClientProperty("html.disable", true);
|
||||
setBorder(BorderFactory.createEmptyBorder(0, 4, 0, 0));
|
||||
}
|
||||
|
||||
public LabelPropertyRenderer(String staticText) {
|
||||
|
||||
Reference in New Issue
Block a user