mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-07 22:40:53 +03:00
IntelliJ Themes:
- fixed menu item check colors - fixed MenuItem.underlineSelectionColor - fixed List, Tree and Table selectionInactiveForeground in light Arc themes - fixed List and Table background colors in Material UI Lite themes
This commit is contained in:
@@ -542,7 +542,7 @@ MenuItem.arrowIcon [lazy] 6,10 com.formdev.flatlaf.icons.FlatMenu
|
||||
MenuItem.background #303234 javax.swing.plaf.ColorUIResource [UI]
|
||||
MenuItem.border [lazy] 0,0,0,0 false com.formdev.flatlaf.ui.FlatMenuItemBorder [UI]
|
||||
MenuItem.borderPainted true
|
||||
MenuItem.checkBackground #3c588b javax.swing.plaf.ColorUIResource [UI]
|
||||
MenuItem.checkBackground #3c588b com.formdev.flatlaf.util.DerivedColor [UI] darken(10%)
|
||||
MenuItem.checkMargins 2,2,2,2 javax.swing.plaf.InsetsUIResource [UI]
|
||||
MenuItem.disabledForeground #888888 javax.swing.plaf.ColorUIResource [UI]
|
||||
MenuItem.font [active] $defaultFont [UI]
|
||||
@@ -557,7 +557,7 @@ MenuItem.selectionForeground #bbbbbb javax.swing.plaf.ColorUIResource [UI]
|
||||
MenuItem.textAcceleratorGap 24
|
||||
MenuItem.textNoAcceleratorGap 6
|
||||
MenuItem.underlineSelectionBackground #484c4f com.formdev.flatlaf.util.DerivedColor [UI] lighten(10% autoInverse)
|
||||
MenuItem.underlineSelectionCheckBackground #3c588b javax.swing.plaf.ColorUIResource [UI]
|
||||
MenuItem.underlineSelectionCheckBackground #3c588b com.formdev.flatlaf.util.DerivedColor [UI] darken(10%)
|
||||
MenuItem.underlineSelectionColor #4a88c7 javax.swing.plaf.ColorUIResource [UI]
|
||||
MenuItem.underlineSelectionHeight 3
|
||||
|
||||
|
||||
@@ -548,7 +548,7 @@ MenuItem.arrowIcon [lazy] 6,10 com.formdev.flatlaf.icons.FlatMenu
|
||||
MenuItem.background #ffffff javax.swing.plaf.ColorUIResource [UI]
|
||||
MenuItem.border [lazy] 0,0,0,0 false com.formdev.flatlaf.ui.FlatMenuItemBorder [UI]
|
||||
MenuItem.borderPainted true
|
||||
MenuItem.checkBackground #bfd9f2 javax.swing.plaf.ColorUIResource [UI]
|
||||
MenuItem.checkBackground #bfd9f2 com.formdev.flatlaf.util.DerivedColor [UI] lighten(40%)
|
||||
MenuItem.checkMargins 2,2,2,2 javax.swing.plaf.InsetsUIResource [UI]
|
||||
MenuItem.disabledForeground #8c8c8c javax.swing.plaf.ColorUIResource [UI]
|
||||
MenuItem.font [active] $defaultFont [UI]
|
||||
@@ -563,7 +563,7 @@ MenuItem.selectionForeground #ffffff javax.swing.plaf.ColorUIResource [UI]
|
||||
MenuItem.textAcceleratorGap 24
|
||||
MenuItem.textNoAcceleratorGap 6
|
||||
MenuItem.underlineSelectionBackground #e6e6e6 com.formdev.flatlaf.util.DerivedColor [UI] darken(10% autoInverse)
|
||||
MenuItem.underlineSelectionCheckBackground #bfd9f2 javax.swing.plaf.ColorUIResource [UI]
|
||||
MenuItem.underlineSelectionCheckBackground #bfd9f2 com.formdev.flatlaf.util.DerivedColor [UI] lighten(40%)
|
||||
MenuItem.underlineSelectionColor #4083c9 javax.swing.plaf.ColorUIResource [UI]
|
||||
MenuItem.underlineSelectionHeight 3
|
||||
|
||||
|
||||
@@ -211,11 +211,15 @@ public class FlatMenusTest
|
||||
JMenuItem menuItem3 = new JMenuItem();
|
||||
JCheckBoxMenuItem checkBoxMenuItem3 = new JCheckBoxMenuItem();
|
||||
JRadioButtonMenuItem radioButtonMenuItem3 = new JRadioButtonMenuItem();
|
||||
JCheckBoxMenuItem checkBoxMenuItem9 = new JCheckBoxMenuItem();
|
||||
JRadioButtonMenuItem radioButtonMenuItem7 = new JRadioButtonMenuItem();
|
||||
JPanel panel4 = new JPanel();
|
||||
JMenu menu4 = new JMenu();
|
||||
JMenuItem menuItem4 = new JMenuItem();
|
||||
JCheckBoxMenuItem checkBoxMenuItem4 = new JCheckBoxMenuItem();
|
||||
JRadioButtonMenuItem radioButtonMenuItem4 = new JRadioButtonMenuItem();
|
||||
JCheckBoxMenuItem checkBoxMenuItem10 = new JCheckBoxMenuItem();
|
||||
JRadioButtonMenuItem radioButtonMenuItem11 = new JRadioButtonMenuItem();
|
||||
JLabel popupMenuLabel = new JLabel();
|
||||
JButton showPopupMenuButton = new JButton();
|
||||
armedCheckBox = new JCheckBox();
|
||||
@@ -670,6 +674,8 @@ public class FlatMenusTest
|
||||
"[]" +
|
||||
"[]" +
|
||||
"[]" +
|
||||
"[]" +
|
||||
"[]" +
|
||||
"[]"));
|
||||
|
||||
//======== menu3 ========
|
||||
@@ -696,6 +702,20 @@ public class FlatMenusTest
|
||||
radioButtonMenuItem3.setSelected(true);
|
||||
radioButtonMenuItem3.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F1, 0));
|
||||
panel3.add(radioButtonMenuItem3, "cell 0 3");
|
||||
|
||||
//---- checkBoxMenuItem9 ----
|
||||
checkBoxMenuItem9.setText("selected");
|
||||
checkBoxMenuItem9.setSelected(true);
|
||||
checkBoxMenuItem9.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F1, 0));
|
||||
checkBoxMenuItem9.setIcon(new ImageIcon(getClass().getResource("/com/formdev/flatlaf/testing/disabled_icons_test/intellij-showReadAccess.png")));
|
||||
panel3.add(checkBoxMenuItem9, "cell 0 4");
|
||||
|
||||
//---- radioButtonMenuItem7 ----
|
||||
radioButtonMenuItem7.setText("selected");
|
||||
radioButtonMenuItem7.setSelected(true);
|
||||
radioButtonMenuItem7.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F1, 0));
|
||||
radioButtonMenuItem7.setIcon(new ImageIcon(getClass().getResource("/com/formdev/flatlaf/testing/disabled_icons_test/intellij-showReadAccess.png")));
|
||||
panel3.add(radioButtonMenuItem7, "cell 0 5");
|
||||
}
|
||||
add(panel3, "cell 3 1");
|
||||
|
||||
@@ -710,6 +730,8 @@ public class FlatMenusTest
|
||||
"[]" +
|
||||
"[]" +
|
||||
"[]" +
|
||||
"[]" +
|
||||
"[]" +
|
||||
"[]"));
|
||||
|
||||
//======== menu4 ========
|
||||
@@ -739,6 +761,22 @@ public class FlatMenusTest
|
||||
radioButtonMenuItem4.setSelected(true);
|
||||
radioButtonMenuItem4.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F1, 0));
|
||||
panel4.add(radioButtonMenuItem4, "cell 0 3");
|
||||
|
||||
//---- checkBoxMenuItem10 ----
|
||||
checkBoxMenuItem10.setText("selected disabled");
|
||||
checkBoxMenuItem10.setEnabled(false);
|
||||
checkBoxMenuItem10.setSelected(true);
|
||||
checkBoxMenuItem10.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F1, 0));
|
||||
checkBoxMenuItem10.setIcon(new ImageIcon(getClass().getResource("/com/formdev/flatlaf/testing/disabled_icons_test/intellij-showReadAccess.png")));
|
||||
panel4.add(checkBoxMenuItem10, "cell 0 4");
|
||||
|
||||
//---- radioButtonMenuItem11 ----
|
||||
radioButtonMenuItem11.setText("selected disabled");
|
||||
radioButtonMenuItem11.setEnabled(false);
|
||||
radioButtonMenuItem11.setSelected(true);
|
||||
radioButtonMenuItem11.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_F1, 0));
|
||||
radioButtonMenuItem11.setIcon(new ImageIcon(getClass().getResource("/com/formdev/flatlaf/testing/disabled_icons_test/intellij-showReadAccess.png")));
|
||||
panel4.add(radioButtonMenuItem11, "cell 0 5");
|
||||
}
|
||||
add(panel4, "cell 4 1");
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
JFDML JFormDesigner: "7.0.2.0.298" Java: "15" encoding: "UTF-8"
|
||||
JFDML JFormDesigner: "7.0.3.1.342" Java: "15" encoding: "UTF-8"
|
||||
|
||||
new FormModel {
|
||||
contentType: "form/swing"
|
||||
@@ -454,7 +454,7 @@ new FormModel {
|
||||
} )
|
||||
add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class net.miginfocom.swing.MigLayout ) {
|
||||
"$columnConstraints": "[fill]"
|
||||
"$rowConstraints": "[][][][]"
|
||||
"$rowConstraints": "[][][][][][]"
|
||||
"$layoutConstraints": "insets 0"
|
||||
} ) {
|
||||
name: "panel3"
|
||||
@@ -490,12 +490,30 @@ new FormModel {
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 0 3"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JCheckBoxMenuItem" ) {
|
||||
name: "checkBoxMenuItem9"
|
||||
"text": "selected"
|
||||
"selected": true
|
||||
"accelerator": #KeyStroke1
|
||||
"icon": &SwingIcon3 new com.jformdesigner.model.SwingIcon( 0, "/com/formdev/flatlaf/testing/disabled_icons_test/intellij-showReadAccess.png" )
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 0 4"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JRadioButtonMenuItem" ) {
|
||||
name: "radioButtonMenuItem7"
|
||||
"text": "selected"
|
||||
"selected": true
|
||||
"accelerator": #KeyStroke1
|
||||
"icon": #SwingIcon3
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 0 5"
|
||||
} )
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 3 1"
|
||||
} )
|
||||
add( new FormContainer( "javax.swing.JPanel", new FormLayoutManager( class net.miginfocom.swing.MigLayout ) {
|
||||
"$columnConstraints": "[fill]"
|
||||
"$rowConstraints": "[][][][]"
|
||||
"$rowConstraints": "[][][][][][]"
|
||||
"$layoutConstraints": "insets 0"
|
||||
} ) {
|
||||
name: "panel4"
|
||||
@@ -534,6 +552,26 @@ new FormModel {
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 0 3"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JCheckBoxMenuItem" ) {
|
||||
name: "checkBoxMenuItem10"
|
||||
"text": "selected disabled"
|
||||
"enabled": false
|
||||
"selected": true
|
||||
"accelerator": #KeyStroke1
|
||||
"icon": &SwingIcon4 new com.jformdesigner.model.SwingIcon( 0, "/com/formdev/flatlaf/testing/disabled_icons_test/intellij-showReadAccess.png" )
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 0 4"
|
||||
} )
|
||||
add( new FormComponent( "javax.swing.JRadioButtonMenuItem" ) {
|
||||
name: "radioButtonMenuItem11"
|
||||
"text": "selected disabled"
|
||||
"enabled": false
|
||||
"selected": true
|
||||
"accelerator": #KeyStroke1
|
||||
"icon": #SwingIcon4
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 0 5"
|
||||
} )
|
||||
}, new FormLayoutConstraints( class net.miginfocom.layout.CC ) {
|
||||
"value": "cell 4 1"
|
||||
} )
|
||||
|
||||
Reference in New Issue
Block a user