Commit Graph

  • 7858e42e37 fixed AWT components on macOS (issue #583) - fixed missing focus indicator - fixed round corners - fixed java.awt.Button background - fixed java.awt.Choice background - fixed java.awt.Checkbox hover Karl Tauber 2022-09-05 14:47:17 +02:00
  • 30132aa6b0 added system property flatlaf.updateUIOnSystemFontChange to allow disabling automatic UI update when system font changes (issue #580) Karl Tauber 2022-08-24 19:32:38 +02:00
  • bf4d4cc2c5 Linux: fixed double-click on title bar to maximize/restore on Ubuntu 22.04 (issue #482) Karl Tauber 2022-08-21 19:49:41 +02:00
  • 9f0554c883 Linux: added libflatlaf-linux-x86_64.so (issue #482) Karl Tauber 2022-08-21 17:35:44 +02:00
  • 218ea6ce47 Linux: fixed double-click on title bar to maximize/restore (issue #482) Karl Tauber 2022-08-21 17:24:50 +02:00
  • 0baae7da8b Linux: load jawt.so explicitly before loading FlatLaf native library to fix UnsatisfiedLinkError: ... libjawt.so: cannot open shared object file ... (issue #482) Karl Tauber 2022-08-20 23:44:41 +02:00
  • fb4576fc1b Linux: use X11 window manager events to move window and to show window menu (right-click on window title bar), if custom window decorations are enabled (issue #482) Karl Tauber 2022-08-20 21:09:49 +02:00
  • 16f3f9e6ff Window decorations: added client property to mark components in embedded menu bar as "caption" (issue #569) Karl Tauber 2022-08-20 19:42:38 +02:00
  • fee7cf6265 FlatPopupFactory: use method handles instead of reflection Karl Tauber 2022-08-13 11:18:47 +02:00
  • 2dd75c4a64 fixed possible exception in FlatUIUtils.resetRenderingHints() (issue #575) Karl Tauber 2022-08-12 15:41:55 +02:00
  • d2f46cd0b5 TabbedPane: option to disable tab run rotation in wrap layout (issue #574) Karl Tauber 2022-08-12 15:32:39 +02:00
  • 10914083e6 JavaCompatibility: use method handles instead of reflection Karl Tauber 2022-08-12 11:20:42 +02:00
  • 5d167da55e Styling: fixed styling protected JRE fields using @StyleableField annotation (regression in commit ff00a6c0f0) Karl Tauber 2022-08-12 11:15:49 +02:00
  • b381e20e57 UIDefaultsLoader: over() color function should always return a ColorUIResource Karl Tauber 2022-08-11 23:52:35 +02:00
  • 380dae1017 Icons: cache paths for (complex) immutable icons that may be painted often (e.g. Tree icons or FileView icons) Karl Tauber 2022-08-11 22:26:48 +02:00
  • fb15cdc546 Icons: - reduced temporary memory usage by specifying optimal initial capacity to new Path2D.Float() - replaced path.append( new Line2D.Float(...) ) with path.moveTo(...); path.lineTo(...);, which does the same, but does not use temporary objects Karl Tauber 2022-08-11 18:09:47 +02:00
  • a525fe29db Icons: changed icons for FileChooser, OptionPane and Tree to rounded outlined style (issue #543) Karl Tauber 2022-08-11 17:02:24 +02:00
  • 475cc9a9a5 Testing: extended FlatPaintingIconsTest to paint icons as pixels Karl Tauber 2022-08-11 13:51:19 +02:00
  • 264d6fbd6d Testing: added FlatPaintingIconsTest Karl Tauber 2022-08-11 00:28:44 +02:00
  • 2826cf379b added arrow icons to FlatLaf Icons.sketch and exported as SVGs Karl Tauber 2022-08-11 00:24:22 +02:00
  • d28745df29 added missing @since 1.2 tags to setup() methods Karl Tauber 2022-08-05 11:19:52 +02:00
  • 94f9e4a1be fixed missing UI value MenuItem.acceleratorDelimiter on macOS (was null, is now an empty string) Karl Tauber 2022-08-03 13:16:43 +02:00
  • ec547e1d65 fixed compiler warnings Karl Tauber 2022-08-03 11:55:59 +02:00
  • 61d4eb649b Styling: fixed failing unit test TestFlatStyleableValue - caused by non-english locale - when running on Java 17 Karl Tauber 2022-08-03 09:46:55 +02:00
  • 52ad15e375 Styling: added StyleableUI.getStyleableValue() for tooling (e.g. GUI builder) Karl Tauber 2022-07-31 10:57:28 +02:00
  • ff00a6c0f0 Styling: use annotation on UI classes for fields in Basic* classes to apply style properties (to avoid boilerplate code) Karl Tauber 2022-07-30 11:03:17 +02:00
  • 9b1ebd658d updated sigtest for FlatLaf 2.4 Karl Tauber 2022-07-13 23:45:28 +02:00
  • f842530537 release 2.4 2.4 Karl Tauber 2022-07-13 23:43:02 +02:00
  • 63077bbb19 Merge PR #565: Window title bar usability improvements (Windows 10/11 only) Karl Tauber 2022-07-13 23:28:38 +02:00
  • 4dad337377 Window decorations: fixed app icon hit test bounds if icon is shown beside title Karl Tauber 2022-07-13 23:11:32 +02:00
  • 10a965d765 Window decorations: option to show window icon beside window title, if menu bar is embedded or title is centered Karl Tauber 2022-07-13 17:58:25 +02:00
  • 3e9c9c9066 execute FlatLaf.initialize() and uninitialize() only for current laf Karl Tauber 2022-07-12 12:13:19 +02:00
  • 8b5a738e65 Menus: avoid that SubMenuUsabilityHelper can be installed multiple times, which can freeze the application caused pushing multiple event queues and popping wrong event queue first Karl Tauber 2022-07-12 10:33:53 +02:00
  • 2c041dce3a Window decorations: add small resize area at top of embedded menu bar only if frame is resizable Karl Tauber 2022-07-11 17:47:04 +02:00
  • ef151c68f4 Window decorations: - improved title bar usability by using larger gaps and minimum sizes - added minimum gap between embedded menu bar and window title - fixed oscillating title while resizing window width - fixed lost right-to-left component orientation in title bar when switching Laf Karl Tauber 2022-07-11 17:28:30 +02:00
  • 52feaac92a Window decorations: no longer reduce height of window title bar if it has an embedded menu bar and is maximized Karl Tauber 2022-07-10 14:03:45 +02:00
  • cddbb3d7d4 Window decorations: make sure that a horizontal glue in embedded menu bar has a minimum width and is always visible Karl Tauber 2022-07-10 13:57:37 +02:00
  • 42764550e6 Window decorations: improved window title bar layout for small window widths: - width of iconify/maximize/close buttons is reduced to give more space to embedded menu bar and title - window title now has a minimum width to always allow moving window Karl Tauber 2022-07-09 19:54:29 +02:00
  • 6ee737b314 Window decorations: small area at top of embedded menu bar to resize window Karl Tauber 2022-07-09 10:30:33 +02:00
  • f460ef7685 UI defaults dumps updated for commits b82ee2ef61 and 93e0496fd2 Karl Tauber 2022-07-09 10:19:54 +02:00
  • 9977bcb468 Window decorations: do not center window title if embedded menu bar is empty or has no menus at left side, but some components at right side (issue #558) Karl Tauber 2022-07-09 00:04:51 +02:00
  • 7437d984c7 Theme Editor: accept @ as identifier character, which includes it in selection when double clicking e.g. on @background Karl Tauber 2022-07-08 17:53:49 +02:00
  • 5cd0b2403c Theme Editor: find/replace bar improvements: - always use editor selection to search if Ctrl+F is pressed - keep find/replace bar open if switching to another editor - mark matches when switching to another editor Karl Tauber 2022-07-08 17:52:08 +02:00
  • a372da22f3 Extras: FlatInspector: - support embedding into SWT - added "MigLayout visual padding" to tooltip Karl Tauber 2022-07-04 11:09:06 +02:00
  • 8b10d3ba5a Native window decorations: fixed missing top window border in dark themes if window drop shadows are disabled in system settings (issue #554) Karl Tauber 2022-07-02 23:26:34 +02:00
  • a8b15c6a12 MenuItem: fixed sometimes wrapped HTML text on HiDPI screens on Windows Karl Tauber 2022-07-02 22:38:37 +02:00
  • 23bac7e5fd Native window decorations: do not use window decorations if system property sun.java2d.opengl is true on Windows 10 (issue #540) Karl Tauber 2022-07-02 00:29:29 +02:00
  • b82ee2ef61 Typography: no longer use Consolas or Courier New as monospaced font on Windows because they have bad vertically placement Karl Tauber 2022-07-01 23:48:04 +02:00
  • b7761f4b71 HiDPIUtils: support rotated graphics (issue #557) Karl Tauber 2022-07-01 15:23:38 +02:00
  • f9a4f9771c Testing: FlatPaintingStringTest: - added "Fonts" combobox to test various fonts - reworked/fixed text painting/sizing to get correct results Karl Tauber 2022-06-07 11:03:34 +02:00
  • d2acb2c98a HiDPIUtils: reimplemented HiDPIUtils.scale() to make it easier to read and more understandable Karl Tauber 2022-06-05 23:43:13 +02:00
  • bf0685cee2 ComboBox: support rounded selection Karl Tauber 2022-06-05 00:45:39 +02:00
  • d60bd5df14 FlatEmptyBorder: fixed possible NPE if passed component is null Karl Tauber 2022-06-05 00:46:43 +02:00
  • 73b6ca3762 ComboBox: fixed vertical alignment of text in popup list with text in combo box in IntelliJ/Darcula themes Karl Tauber 2022-06-04 20:15:31 +02:00
  • 8262793751 List: support rounded selection for layout orientations VERTICAL_WRAP and HORIZONTAL_WRAP Karl Tauber 2022-06-04 11:16:04 +02:00
  • 5ec7848fb0 List: fixed endless loop rounded selection painting Karl Tauber 2022-06-03 17:32:55 +02:00
  • 450fc123ff List: support rounded selection Karl Tauber 2022-06-03 14:26:05 +02:00
  • 3802c64be3 Tree: better support for non-wide rounded selection Karl Tauber 2022-06-03 09:33:19 +02:00
  • 7bf1b26812 Tree: support rounded selection Karl Tauber 2022-06-02 12:03:20 +02:00
  • 6c18431a30 TableHeader: fixed exception when changing table structure (e.g. removing column) from a table header popup menu action (issue #532) Karl Tauber 2022-05-31 18:53:49 +02:00
  • a49d20249f Gradle: do not set Multi-Release: true in META-INF/MANIFEST.MF if not needed Karl Tauber 2022-05-31 15:35:56 +02:00
  • ad384acd57 updated sigtest for FlatLaf 2.3 Karl Tauber 2022-05-28 18:43:37 +02:00
  • 69851b7f3a release 2.3 2.3 Karl Tauber 2022-05-28 17:53:54 +02:00
  • 92b53bf0df Merge PR #522: File chooser shortcuts panel Karl Tauber 2022-05-28 17:46:12 +02:00
  • 93e0496fd2 ToggleButton: button style "tab": added missing foreground colors for hover, focused and selected states (issue #535) Karl Tauber 2022-05-28 15:09:04 +02:00
  • 5151951f46 Button and ToggleButton: added missing foreground colors for hover, pressed, focused and selected states (issue #535) Karl Tauber 2022-05-28 12:16:02 +02:00
  • 58dbccec2d Table: optionally paint alternating rows below table if table is smaller than scroll pane (issue #504) Karl Tauber 2022-05-25 11:18:22 +02:00
  • 90de14d013 Native library: refactored loading of Windows native library from FlatWindowsNativeWindowBorder to FlatNativeLibrary to make it easier to add native libraries for other platforms (for issues #204 and #482) Karl Tauber 2022-05-17 20:24:28 +02:00
  • f1792e46c6 Menus: - support different selection colors for top-level JMenus - fixed styling of underline selection properties for top-level JMenus Karl Tauber 2022-05-15 16:39:11 +02:00
  • 84e9c36280 Menus: support rounded selection Karl Tauber 2022-05-15 14:24:38 +02:00
  • 2ef6a2c3c9 ToolBar: add hover effect to button groups Karl Tauber 2022-05-14 13:59:47 +02:00
  • 5f961618bf Demo and Theme Editor: updated macOS related comments Karl Tauber 2022-05-13 13:54:10 +02:00
  • 37c375e2fa Theme Editor: - support "themes" sub-directory - added "generate Java class" checkbox to "New" dialog Karl Tauber 2022-05-10 11:01:45 +02:00
  • 1758c175ed FlatLafUIKeys.txt: added some missing UI defaults Karl Tauber 2022-05-09 23:30:34 +02:00
  • 96f2a02cfa UIDefaultsLoader: added over() color function to convert a translucent color into a solid color based on any background color Karl Tauber 2022-05-09 23:28:40 +02:00
  • 96d4bda6c8 Demo: hide accent color buttons (instead of disabling them) if not supported by selected theme Karl Tauber 2022-05-09 22:51:38 +02:00
  • 02cf6050a1 updates for PR #530: - added @since tags - changed FlatToggleButton.setTabUnderlinePlacement() implementation so that is behaves similar to FlatTabbedPane.setTabIconPlacement() Karl Tauber 2022-05-09 22:28:34 +02:00
  • 38cf32a2e9 Merge PR #530: ToggleButton: made underline placement configurable Karl Tauber 2022-05-09 22:08:42 +02:00
  • 2ae7589d14 Merge PR #525: Create Bundle_es.properties Karl Tauber 2022-05-09 21:28:47 +02:00
  • bcb2e1f0a1 ToggleButton: made underline placement configurable Julien Fischer 2022-05-06 10:28:02 +02:00
  • 14932d3f07 Theme Editor: on macOS use apple.awt.fullWindowContent and apple.awt.transparentTitleBar Karl Tauber 2022-05-05 13:20:23 +02:00
  • c3b9dc397d Demo: on macOS use apple.awt.fullWindowContent and apple.awt.transparentTitleBar Karl Tauber 2022-05-01 11:45:36 +02:00
  • 58b653f55d updated sigtest for FlatLaf 2.2 Karl Tauber 2022-05-01 11:44:51 +02:00
  • 1dcdc42dde Create Bundle_es.properties Jesús Marín 2022-04-29 14:51:11 +01:00
  • 58a0a16985 IntelliJ Themes: fixed TitledBorder text color in "Monokai Pro" theme (issue #524) Karl Tauber 2022-04-28 15:16:26 +02:00
  • a117243f14 FileChooser: use large system icons in shortcuts panel also in Java 8 to 16 Karl Tauber 2022-04-26 00:25:17 +02:00
  • 22411060be FileChooser: improve layout for shortcuts panel (give it full height) Karl Tauber 2022-04-25 23:49:15 +02:00
  • 045263ae58 FileChooser: added (optional) shortcuts panel (issue #100) Karl Tauber 2022-04-25 23:06:10 +02:00
  • 024b6daaf6 release 2.2 2.2 Karl Tauber 2022-04-25 19:36:43 +02:00
  • bd5512c121 SplitPane: allow limiting one-touch expanding to a single side (issue #355) Karl Tauber 2022-04-23 17:13:32 +02:00
  • 9afce83a02 SplitPane: added missing BasicSplitPaneDivider properties to javadoc Karl Tauber 2022-04-23 16:19:04 +02:00
  • 07a8bd9486 ComboBox: added missing BasicComboPopup properties to javadoc Karl Tauber 2022-04-22 10:55:25 +02:00
  • bcdc0a8fce IntelliJ Themes: added "Monokai Pro" and "Xcode-Dark" themes Karl Tauber 2022-04-21 22:03:05 +02:00
  • b295809432 IntelliJ Themes: updated themes to newest versions (used IJThemesUpdater) Karl Tauber 2022-04-21 21:22:34 +02:00
  • 52763ab932 GitHub Actions: - natives.yml: include core natives in artifacts - updated versions of used actions Karl Tauber 2022-04-21 14:18:27 +02:00
  • 99666265c9 gradle: - use gradle cpp-library plugin instead of 3rd party plugin - build natives only via task build-natives Karl Tauber 2022-04-21 12:58:16 +02:00
  • af3e280d74 Table: slightly changed grid colors to make grid better recognizable (issue #514) Karl Tauber 2022-04-19 23:00:01 +02:00
  • b57e4c0565 TabbedPane: selected tab underline color now changes depending on whether the focus is within the tab content (issue #398) Karl Tauber 2022-04-19 22:19:47 +02:00
  • aca9931560 IntelliJ Themes: TabbedPane: use DefaultTabs.underlinedTabBackground and DefaultTabs.underlinedTabForeground from JSON themes for selected tab background/foreground Karl Tauber 2022-04-19 16:50:27 +02:00
  • d09e166e4a SplitPane: fixed StackOverflowError caused by layout loop that may occur under special circumstances (issue #513) Karl Tauber 2022-04-12 13:47:04 +02:00