Commit Graph

792 Commits

Author SHA1 Message Date
Karl Tauber
f61782d87f Table and Tree: show focus border (at scroll pane) even if in editing mode 2019-09-13 10:35:36 +02:00
Karl Tauber
690f12caf4 optimized FlatUIUtils.paintOutlineBorder() by using Rectangle2D if arc <= 0 2019-09-13 09:39:42 +02:00
Karl Tauber
da8e7ee2d3 Spinner: no longer use focusedColor for hover 2019-09-13 00:17:26 +02:00
Karl Tauber
dee1f77c51 HelpButton: support hover, pressed and focused backgrounds and borders 2019-09-13 00:04:10 +02:00
Karl Tauber
5eabcef795 CheckBox and RadioButton: support hover, pressed and focused backgrounds and borders 2019-09-12 23:36:45 +02:00
Karl Tauber
c7ca3c5f9a Button: use FlatButtonUI.buttonStateColor() in button border 2019-09-12 19:14:19 +02:00
Karl Tauber
12ee41b443 ToggleButton: support pressed background 2019-09-12 19:11:16 +02:00
Karl Tauber
ce4e488529 Button: support hover, pressed and focused backgrounds 2019-09-12 12:56:26 +02:00
Karl Tauber
2acfe2e834 ComboBox and Spinner: hover support 2019-09-11 23:56:59 +02:00
Karl Tauber
c2cf85b0e2 fixed NPE when variable not found 2019-09-11 23:32:49 +02:00
Karl Tauber
8604f51add Button: replaced gradient border with single-color border 2019-09-11 17:57:26 +02:00
Karl Tauber
362c4f935b ScrollBar: preserve hover highlight while dragging even if mouse moves outside of scrollbar 2019-09-11 14:40:13 +02:00
Karl Tauber
3505d2dfd5 ScrollBar: hover support 2019-09-11 14:00:33 +02:00
Karl Tauber
78d94885c5 Slider: hover support 2019-09-11 13:02:33 +02:00
Karl Tauber
c02c6ae36e support variables that use variables
(fixed selected text color in text field if all text is selected in dark theme)
2019-09-11 11:16:16 +02:00
Karl Tauber
7db9ef3adc Spinner: apply minimum width of 64px 2019-09-11 10:21:47 +02:00
Karl Tauber
551cc1d76b TextField, TextArea, TextPane and EditorPane: apply minimum width of 64px 2019-09-11 10:17:07 +02:00
Karl Tauber
1ecafa5f2d Button: apply minimum button width of 72px 2019-09-11 10:09:05 +02:00
Karl Tauber
b517f64884 HelpButton added 2019-09-10 23:46:48 +02:00
Karl Tauber
daf026f8c7 Tree: updated SVG icons 2019-09-09 18:09:01 +02:00
Karl Tauber
2a840b65c4 use FlatUIUtils.createPath() in painting 2019-09-09 18:06:44 +02:00
Karl Tauber
3a9df2487c removed Path2D.WIND_EVEN_ODD where not necessary 2019-09-09 17:42:35 +02:00
Karl Tauber
030528764a FileChooser: swapped detailsView and listView 2019-09-09 17:31:56 +02:00
Karl Tauber
d51d79c2ad FileChooser: directoryIcon, fileIcon, computerIcon, hardDriveIcon and floppyDriveIcon added 2019-09-09 17:28:02 +02:00
Karl Tauber
07b26fb548 Tree: use FlatUIUtils.createPath() in icon painting 2019-09-09 16:00:14 +02:00
Karl Tauber
3fcad9637e FileChooser: newFolderIcon, upFolderIcon, homeFolderIcon, detailsViewIcon and listViewIcon added 2019-09-09 15:57:20 +02:00
Karl Tauber
8eca306bac Demo: fixed foreground of "Show dialog" link label (was unreadable in dark theme) 2019-09-08 19:20:41 +02:00
Karl Tauber
172a8a1b39 TitledBorder: fixed border and added to Demo 2019-09-08 19:09:39 +02:00
Karl Tauber
650ce12c22 SplitPane: implemented one-touch buttons 2019-09-08 18:54:25 +02:00
Karl Tauber
83f88cd3a8 slightly changed style of default Light and Dark themes and added IntelliJ and Darcula themes to keep the old style:
- changed focus width from 2 to 0
- changed colors of selected checkbox and radio button
- increased diameter of center circle in selected radio button
2019-09-08 17:18:19 +02:00
Karl Tauber
6b8b5de3b5 ToggleButton: removed unused border colors 2019-09-08 14:22:06 +02:00
Karl Tauber
7b1eda45cd ToolBar:
- swap margins if orientation changes when floating
- include toolbar margin in grip position calculation
2019-09-08 12:13:08 +02:00
Karl Tauber
c69e9e12c6 Demo: add info label shows the current system/user scale factor and the java version 2019-09-07 23:48:24 +02:00
Karl Tauber
70d3b7c443 flatlaf-core/build.gradle.kts: use testImplementation() instead of deprecated testCompile() in dependencies 2019-09-07 19:37:35 +02:00
Karl Tauber
95fb623f45 FlatComponents2Test: suppress warnings 2019-09-07 11:31:32 +02:00
Karl Tauber
d76e0df965 TitledBorder title color 2019-09-07 11:24:26 +02:00
Karl Tauber
90f020cae7 ColorChooser implementation 2019-09-07 11:23:04 +02:00
Karl Tauber
41c4df87ba OptionPane implementation 2019-09-07 10:26:39 +02:00
Karl Tauber
c097775c40 OptionPane: error, information, question and warning icons added
SVGO options convertShapeToPath and convertPathData disabled
2019-09-06 15:32:26 +02:00
Karl Tauber
9723b3eb35 Spinner: removed unused import 2019-09-05 11:48:43 +02:00
Karl Tauber
491b543b13 FlatTestFrame: support JToolBar; added keys to LaF combobox 2019-09-05 11:48:05 +02:00
Karl Tauber
a12be75a53 CheckBoxMenuItem and RadioButtonMenuItem: fixed checkmark color if menu item is armed 2019-09-05 11:37:55 +02:00
Karl Tauber
bcefc56b84 FlatMenuArrowIcon: fixed field names 2019-09-05 11:33:53 +02:00
Karl Tauber
4aa3a52c80 ToggleButton implementation 2019-09-05 11:06:32 +02:00
Karl Tauber
cd8f969291 Button: support for buttons in toolbars 2019-09-04 23:44:07 +02:00
Karl Tauber
6512ede8b1 ToolBar and ToolBarSeparator implementation 2019-09-04 19:10:48 +02:00
Karl Tauber
a15e21b6c1 ToolTip implementation 2019-09-04 10:27:26 +02:00
Karl Tauber
5f43740484 Menu: fixed arrow color if menu is selected 2019-09-04 09:58:39 +02:00
Karl Tauber
95b26940ba FlatComponentsTest: removed "selected" JButtons and improved layout for sliders and progrssbars 2019-09-03 20:16:05 +02:00
Karl Tauber
40a2603e56 Viewport implementation 2019-09-03 17:04:45 +02:00