mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
commit dialog: details to look similar to other separators
This commit is contained in:
@@ -59,8 +59,8 @@ public abstract class AbstractTitledSeparatorWithIcon extends JPanel {
|
||||
new Insets(3, 0, 0, 0), 0, 0);
|
||||
add(mySeparator, gb);
|
||||
setBorder(IdeBorderFactory.createEmptyBorder(3, 0, 5, 5));
|
||||
|
||||
myLabel.setFont(UIUtil.getBorderFont(smallFont ? UIUtil.FontSize.SMALL : UIUtil.FontSize.NORMAL, boldFont));
|
||||
myLabel.setForeground(UIUtil.getTitledBorderTitleColor());
|
||||
originalText = text;
|
||||
myLabel.setText(UIUtil.replaceMnemonicAmpersand(originalText));
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ public abstract class SplitterWithSecondHideable {
|
||||
openIcon = IconLoader.getIcon("/general/comboArrowRightPassive.png");
|
||||
}
|
||||
|
||||
myTitledSeparator = new AbstractTitledSeparatorWithIcon(icon, openIcon, separatorText, false, false) {
|
||||
myTitledSeparator = new AbstractTitledSeparatorWithIcon(icon, openIcon, separatorText, true, true) {
|
||||
@Override
|
||||
protected RefreshablePanel createPanel() {
|
||||
return createDetails();
|
||||
|
||||
Reference in New Issue
Block a user