mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
Platform: mac tabs
This commit is contained in:
@@ -255,6 +255,7 @@ public class
|
||||
@Override
|
||||
public void apply(UiDecorator.UiDecoration decoration) {
|
||||
setBorder(new EmptyBorder(5, 5, 7, 5));
|
||||
myLabel.setFont(UIUtil.getLabelFont(UIUtil.FontSize.SMALL));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -75,7 +75,7 @@ public class TabLabel extends JPanel {
|
||||
myLabel.setIconTextGap(tabs.isEditorTabs() ? 2 : new JLabel().getIconTextGap());
|
||||
myLabel.setIconOpaque(false);
|
||||
myLabel.setIpad(new Insets(0, 0, 0, 0));
|
||||
myLabel.setFont(UIUtil.getLabelFont(UIUtil.FontSize.SMALL));
|
||||
if (SystemInfo.isMac) myLabel.setFont(UIUtil.getLabelFont(UIUtil.FontSize.SMALL));
|
||||
setOpaque(false);
|
||||
setLayout(new BorderLayout());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user