Commit Graph

  • a560be11ed InternalFrame: renamed FlatInternalFrameMinimizeIcon to FlatInternalFrameRestoreIcon; added some missing @uiDefault to internal frame icons Karl Tauber 2020-05-28 11:50:34 +02:00
  • 506a1e6b62 Window decorations: iconify/maximize/restore/close button icons in Windows 10 style (issues #47 and #82) Karl Tauber 2020-05-28 11:35:30 +02:00
  • 626601f6aa Window decorations: added window icon (issues #47 and #82) Karl Tauber 2020-05-27 11:36:11 +02:00
  • 9ad32125c0 Window decorations: initial implementation (incomplete) (issues #47 and #82) Karl Tauber 2020-05-26 23:35:05 +02:00
  • ebd6375672 Spinner: optimized up/down chevron arrow positions Karl Tauber 2020-05-25 13:05:59 +02:00
  • 502731d3b0 Spinner: optimized up/down arrow positions Karl Tauber 2020-05-24 19:05:28 +02:00
  • 283535c429 Demo: use Command modifier to change font size on macOS Karl Tauber 2020-05-24 15:26:54 +02:00
  • 5cef1f6730 Testing: added font size spinner to control bar; also support Ctrl+0, Ctrl++ and Ctrl+- to change font size Karl Tauber 2020-05-24 15:26:07 +02:00
  • 7d14fbe739 Testing: do not fail startup when LaF initialization throws UnsupportedClassVersionError (may occur when switching from Java 9+ to Java 8) Karl Tauber 2020-05-24 14:48:05 +02:00
  • e9e1e350eb Spinner: - repaint if JSpinner component gained/lost focus - paint focus border if JSpinner component is focused - if spinner gained focus, transfer it to the editor text field Karl Tauber 2020-05-24 14:44:36 +02:00
  • 566e42cc40 revalidate layout when minimum width client property is changed Karl Tauber 2020-05-23 22:57:39 +02:00
  • 0abfb5922a ComboBox: minimum width is now 72 pixels (was ~50 for non-editable and ~130 for editable comboboxes) Karl Tauber 2020-05-23 22:25:18 +02:00
  • 4af8d2f1c5 ComboBox: support custom borders in combobox editors (issue #102) Karl Tauber 2020-05-23 18:26:59 +02:00
  • d2d4f73834 ScrollBar: use derived colors for track and thumb (issue #103) Karl Tauber 2020-05-23 16:40:09 +02:00
  • 53fce4e81d ScrollBar: rotate track/thumb insets for horizontal orientation because they are given for vertical orientation (issue #103) Karl Tauber 2020-05-23 14:16:12 +02:00
  • 08c439b46e ScrollBar: use rounded thumb on macOS (issue #103) Karl Tauber 2020-05-23 13:58:05 +02:00
  • 934eb9fc1d ScrollBar: use rounded thumb on Linux (issue #103) Karl Tauber 2020-05-23 13:51:25 +02:00
  • fd208a3879 ScrollBar: made styling more flexible by supporting insets and arc for track and thumb (issue #103) Karl Tauber 2020-05-23 12:05:36 +02:00
  • 10b131e111 Demo: show Java vendor in bottom control bar Karl Tauber 2020-05-23 11:28:28 +02:00
  • c4c6faa943 Ubuntu Linux: fixed poorly rendered font (2nd attempt) (issue #105) Karl Tauber 2020-05-23 11:06:24 +02:00
  • c7a8d1e1b7 Linux: changing system font did not update FlatLaf font Karl Tauber 2020-05-22 18:22:46 +02:00
  • b36ac1b824 UI defaults: added GTKLookAndFeel dump made on Fedora 31 (Adweita theme) Karl Tauber 2020-05-21 18:38:46 +02:00
  • bc6cb492f1 Ubuntu Linux: fixed poorly rendered font (issue #105) Karl Tauber 2020-05-21 17:11:58 +02:00
  • ce503cedc3 Demo: improved "Font" menu: - add current font family and size to menu - filter out unavailable fonts - select active font family and size - disable font menu items if non-FlatLaf LaF is active Karl Tauber 2020-05-21 12:24:40 +02:00
  • c900c9cc82 reduce derived colors calculations Karl Tauber 2020-05-20 14:49:56 +02:00
  • 87b73f26f5 replaced FlatUIUtils.setColor() with deriveColor() for more flexibility Karl Tauber 2020-05-20 14:24:22 +02:00
  • 221a18c119 Update README.md uwemock 2020-05-20 07:20:42 +02:00
  • be529655d6 UIDefaultsLoader: on color functions use "autoInverse" option by default if "derived" option is set Karl Tauber 2020-05-20 00:40:05 +02:00
  • 2a0403a988 support CompoundBorder as component border with FlatBorder on the outside Karl Tauber 2020-05-19 23:24:00 +02:00
  • 815e23b930 ScrollBar: make hoverTrack and hoverThumb fields protected to allow subclasses implement own painting (issue #103) Karl Tauber 2020-05-19 19:24:27 +02:00
  • f1c08e7769 FlatTestFrame: added Substance Business skin for testing light UI Karl Tauber 2020-05-19 18:42:22 +02:00
  • 571f028ca3 FlatComponentsTest: moved components that change something into own "control" panel Karl Tauber 2020-05-19 11:31:52 +02:00
  • 16d51fe6b4 ComboBox and Spinner: move arrow slightly to the left if round borders are used on the component Karl Tauber 2020-05-18 23:26:34 +02:00
  • ddf9ed06ab release 0.35 0.35 Karl Tauber 2020-05-18 21:22:31 +02:00
  • 1907f80024 Demo: fixed compiler warnings and improved error/warning hints Karl Tauber 2020-05-18 21:07:11 +02:00
  • 8c0ccdd227 Drop shadows on Windows: support medium-weight popups (issue #94) Karl Tauber 2020-05-18 13:13:57 +02:00
  • dc098025b6 FileChooser: make top-right buttons look like toolbar buttons Karl Tauber 2020-05-18 10:51:23 +02:00
  • c11222b5c7 FlatHtmlTest: added more HTML samples Karl Tauber 2020-05-17 22:50:40 +02:00
  • 03bc6eb69b FlatTestFrame: '2.0' --> '2' Karl Tauber 2020-05-17 18:46:21 +02:00
  • 1aa339de02 make component outline border wider if focus width is zero Karl Tauber 2020-05-17 17:59:26 +02:00
  • 531bb2a968 UIDefaultsDump: dump only differences for macOS Karl Tauber 2020-05-17 17:52:12 +02:00
  • 800dbf3ba9 support different component border colors to indicate errors, warnings or custom state (set client property JComponent.outline to error, warning or any java.awt.Color) Karl Tauber 2020-05-17 13:43:19 +02:00
  • ff545e6ecd UIDefaultsLoader: support using a derived color function within another derived color function and create a derived color that joins the color functions Karl Tauber 2020-05-17 12:14:14 +02:00
  • 961fe38c7e UIDefaultsDump: dump color functions Karl Tauber 2020-05-16 22:25:23 +02:00
  • 19426394e2 UIDefaultsLoader: added saturate() and desaturate() color functions Karl Tauber 2020-05-16 18:59:05 +02:00
  • 069a4e8f0b ToolTip: fixed left/right insets of multi-line tooltips so that they are the same as in single-line tooltips (BasicToolTipUI adds 3 to the left and right) Karl Tauber 2020-05-16 14:33:55 +02:00
  • a76b02b828 fixed broken FlatTestLaf.properties Karl Tauber 2020-05-16 14:19:41 +02:00
  • fbb9bf5f0c Extras: TriStateCheckBox: fixed painting third state in LaFs that do not support third state Karl Tauber 2020-05-16 12:29:35 +02:00
  • f632c355e8 FileChooser: scale file icons (issue #100) Karl Tauber 2020-05-16 11:03:40 +02:00
  • e75caf5833 FileChooser: use system icons (issue #100) Karl Tauber 2020-05-15 17:20:52 +02:00
  • b0c8f2cefd TextComponents: reduced duplicate code; fixed parameter order Karl Tauber 2020-05-15 15:00:32 +02:00
  • 2136d9f13d PasswordField: do not apply minimum width if columns property > 0 Karl Tauber 2020-05-15 14:06:33 +02:00
  • 83fdeb7e0c ComboBox, Spinner and TextField: support round border style (set client property JComponent.roundRect to true) Karl Tauber 2020-05-15 13:38:45 +02:00
  • 26c77b3118 Button, ComboBox, TextField and DatePicker UI delegates now get Component.focusWidth and Button.arc/Component.arc/TextComponent.arc from component border Karl Tauber 2020-05-15 11:32:53 +02:00
  • 578d445ecb FlatBorder: moved scaling from getter methods to paintBorder() and getBorderInsets() Karl Tauber 2020-05-14 23:35:11 +02:00
  • 3bbc9517af Popup: fixed background flashing effect when drop shadows are disabled (issue #94) Karl Tauber 2020-05-14 14:48:12 +02:00
  • a4d7f278cf Drop shadows on Windows: fix location of light weight popup in case it has left or top drop shadow (issue #94) Karl Tauber 2020-05-14 11:44:00 +02:00
  • bf0ffc6ac2 Drop shadows: support enabling/disabling drop shadows per component (issue #94) Karl Tauber 2020-05-14 11:39:09 +02:00
  • ace07cd9cb Drop shadows on Windows: fixed sub-pixel text rendering issue for heavy weight popups (issue #94) Karl Tauber 2020-05-14 11:11:11 +02:00
  • a341179426 Merge pull request #101 from cristatus/patch-2 Karl T 2020-05-14 10:46:15 +02:00
  • 298f0dfd63 Fix menu background flashing effect Amit Mendapara 2020-05-14 11:43:59 +05:30
  • b8f953cd26 Drop shadows on Windows: use light weight popups by default (issue #94) Karl Tauber 2020-05-13 18:41:26 +02:00
  • a9cfe69ba7 FileChooser: fixed missing labels in file chooser when running on Java 9 or later (issue #98) Karl Tauber 2020-05-13 12:50:41 +02:00
  • b3e0b99e8d Button and ToggleButton: support round button style (set client property JButton.buttonType to roundRect) Karl Tauber 2020-05-13 11:45:01 +02:00
  • 5bd40baed2 Extras: TriStateCheckBox: paint magenta rectangle when used in LaFs that do not support third state Karl Tauber 2020-05-12 23:26:52 +02:00
  • d3a70b8bb2 CheckBox and RadioButton: Opaque flag is no longer ignored when checkbox is used as table cell renderer (issue #77) Karl Tauber 2020-05-12 22:35:05 +02:00
  • 71e698603d ComboBox: fixed painting background outside of border if Component.arc is set to a large value Karl Tauber 2020-05-12 19:24:29 +02:00
  • 659ead903c TextField: avoid garbage in corners if TextComponent.arc is set to a large value Karl Tauber 2020-05-12 18:58:17 +02:00
  • 070c435f40 paint nicely rounded buttons, comboboxes, spinners and text fields when setting Button.arc, Component.arc or TextComponent.arc to a large value (e.g. 1000) Karl Tauber 2020-05-12 17:48:35 +02:00
  • b668a526e3 changed "Flat" to "FlatLaf" in look and feel names and descriptions Karl Tauber 2020-05-12 16:47:46 +02:00
  • 01287d0669 Popup: allow disabling native drop shadows for popups on macOS Karl Tauber 2020-05-12 16:42:55 +02:00
  • ff481d759f Merge pull request #99 from cristatus/patch-1 Karl T 2020-05-10 19:25:17 +02:00
  • 71248f1708 Fix popup shadow issue on Linux Amit Mendapara 2020-05-10 22:46:57 +05:30
  • 0a0f834f23 Drop shadows: - reworked drop shadows implementation to support 4-sided shadows - use 4-sided shadow for internal frames - made shadows configurable in UI defaults - made shadows dark in dark themes Karl Tauber 2020-05-10 15:38:50 +02:00
  • 06cad7ecd8 Popup: make sure that popup background is filled (issue #94) Karl Tauber 2020-05-09 23:23:12 +02:00
  • ceba3e2f95 CHANGELOG.md: added Java 9 module descriptor to extras and swingx JARs Karl Tauber 2020-05-09 15:59:29 +02:00
  • 61c2fd8794 build.gradle.kts: use MigLayout 5.3-SNAPSHOT for better scaling Karl Tauber 2020-05-09 15:42:18 +02:00
  • db933fee4f build.gradle.kts: flatlaf-extras and flatlaf-swingx are now Java modules Karl Tauber 2020-05-09 15:32:25 +02:00
  • 2656c2dc40 build.gradle.kts: moved publishing related configuration to precompiled script plugin Karl Tauber 2020-05-09 13:54:16 +02:00
  • 01cfe33865 build.gradle.kts: moved module-info and java9 related configuration to precompiled script plugins Karl Tauber 2020-05-09 10:55:12 +02:00
  • d79a31cc79 build.gradle.kts: use withSourcesJar() and withJavadocJar() Karl Tauber 2020-05-09 01:28:05 +02:00
  • 9efab8b892 travis: added openjdk14 and removed openjdk13 Karl Tauber 2020-05-09 00:30:38 +02:00
  • aae845247a update to Gradle 6.4 Karl Tauber 2020-05-09 00:16:07 +02:00
  • 3f45a9a75f Merge remote-tracking branch 'origin/drop-shadows' into master Karl Tauber 2020-05-08 19:02:13 +02:00
  • c9016155ae Demo: added "Options > Always show mnemonics" to menu Karl Tauber 2020-05-08 18:58:02 +02:00
  • 1019e8f4af Extras: added FlatSVGIcon and download section Karl Tauber 2020-05-08 18:50:02 +02:00
  • 8e423b4552 release 0.34 0.34 Karl Tauber 2020-05-08 14:53:16 +02:00
  • 0e288c955c Extras: added publishing tasks to build.gradle.kts Karl Tauber 2020-05-08 14:44:41 +02:00
  • 465dc8a66c Popup: added drop shadows to all popups (menu, combobox and tooltip) on all platforms (issue #94) Karl Tauber 2020-05-08 11:02:20 +02:00
  • 7e5c599cc0 added user scale factor to UI defaults to allow layout managers (e.g. MigLayout) to use it Karl Tauber 2020-05-07 23:25:57 +02:00
  • a961001a4b reorder entries in JAR file to fix issues #13 and #93 Karl Tauber 2020-05-07 14:45:22 +02:00
  • 0a181f6407 InternalFrame: added drop shadows (issue #94) Karl Tauber 2020-05-07 00:07:02 +02:00
  • 27a347db34 PopupMenu on macOS: enabled drop shadows for popup menus and combobox popups (issue #94) Karl Tauber 2020-05-05 19:20:48 +02:00
  • b228dbb2df Demo on macOS: enabled screen menu bar by default Karl Tauber 2020-05-05 19:10:57 +02:00
  • 09cffc4340 UIDefaultsDump: avoid locale specific decimal separators in dumps Karl Tauber 2020-05-05 18:53:31 +02:00
  • e79880d305 ToolTip: made border darker (to make it better and no longer paint disabled tips (issue #94) Karl Tauber 2020-05-05 18:44:54 +02:00
  • 34266761d1 UIDefaultsDump: dump FlatLineBorder parameters because they may be specified in properties files Karl Tauber 2020-05-05 16:34:30 +02:00
  • 77f17eaa3e FlatPropertiesLaf class added that allows creating FlatLaf theme from properties (issue #97) Karl Tauber 2020-05-05 15:13:21 +02:00
  • ac70342cb3 Menus: made check background margin smaller (issue #96) Karl Tauber 2020-05-05 13:56:41 +02:00
  • d2f16dcaf3 Menus: - added 1px to menu item top and bottom margin - changed gap between menu item icon and text from 4 to 6 - improved colors of checked menu items that have a icon Karl Tauber 2020-05-05 12:31:33 +02:00