Fix tab text color and size.

cusax-fix
Yana Stamcheva 18 years ago
parent bba761f2b4
commit afe5f6eccf

@ -20,6 +20,7 @@ desktopBackgroundColor=FAFAFA
textColor=333333
inactiveTextColor=999999
menuDisabledForeground=999999
tabbedPaneHighlight=F9750A
# Custom components GUI constants
historyIncomingCallBackground=F9FFC5

@ -115,6 +115,10 @@ public class SIPCommDefaultTheme
= new ColorUIResource(ColorResources
.getColor("menuDisabledForeground"));
private static final ColorUIResource TABBED_PANE_HIGHLIGHT
= new ColorUIResource(ColorResources
.getColor("tabbedPaneHighlight"));
private static final FontUIResource BASIC_FONT
= new FontUIResource(Constants.FONT);
@ -215,7 +219,7 @@ public void addCustomEntriesToTable(UIDefaults table)
"TabbedPane.unselectedBackground", SELECTION_BACKGROUND,
"TabbedPane.shadow", CONTROL_SHADOW,
"TabbedPane.darkShadow", CONTROL_DARK_SHADOW,
"TabbedPane.highlight", CONTROL_COLOR,
"TabbedPane.highlight", TABBED_PANE_HIGHLIGHT,
"TextField.border", textFieldBorder,
"TextField.margin", new InsetsUIResource(3, 3, 3, 3),

@ -32,7 +32,7 @@ public class SIPCommTabbedPaneEnhancedUI extends SIPCommTabbedPaneUI {
private static final Color whiteColor = Color.white;
private static final int TAB_OVERLAP = 0;
private static final int TAB_OVERLAP = 10;
private static final int PREFERRED_WIDTH = 150;

Loading…
Cancel
Save