commit dialog: details to look similar to other separators

This commit is contained in:
irengrig
2011-09-08 16:52:59 +04:00
parent 1097910fb9
commit 9cf2d625e9
2 changed files with 2 additions and 2 deletions
@@ -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();