mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-11 06:27:13 -06:00
TestFlatComponentSizes: shortened combobox text because unit tests on GitHub Actions use font size 15
This commit is contained in:
@@ -114,7 +114,7 @@ public class TestFlatComponentSizes
|
||||
void comboBox( float factor ) {
|
||||
TestUtils.scaleFont( factor );
|
||||
|
||||
String[] items = { "text" };
|
||||
String[] items = { "t" };
|
||||
JComboBox<String> comboBox = new JComboBox<>( items );
|
||||
JComboBox<String> comboBox2 = new JComboBox<>( items );
|
||||
JComboBox<String> comboBox3 = new JComboBox<>( items );
|
||||
@@ -145,7 +145,7 @@ public class TestFlatComponentSizes
|
||||
void comboBoxEditable( float factor ) {
|
||||
TestUtils.scaleFont( factor );
|
||||
|
||||
String[] items = { "text" };
|
||||
String[] items = { "t" };
|
||||
JComboBox<String> comboBox = new JComboBox<>( items );
|
||||
JComboBox<String> comboBox2 = new JComboBox<>( items );
|
||||
JComboBox<String> comboBox3 = new JComboBox<>( items );
|
||||
|
||||
Reference in New Issue
Block a user