Skip to content

Releases: weisJ/darklaf

v2.4.5

19 Aug 18:17
Compare
Choose a tag to compare

New in this release

  • Added darklaf.unifiedMenuBar system property to toggle the unified menubar.

Addressed issues

  • Boolean editors for tables have an incorrect background colour. 4319c95
  • Complete table row instead of focus cell has focus border if selected. 4319c95

v2.4.4

11 Aug 18:28
Compare
Choose a tag to compare

Addressed issues

  • Tree hint popups are displayed at the wrong location if custom window decorations are disabled. [Windows] 12271e3
  • Popups remain decorated even if displayed while decorations are enabled and decorations are disabled afterwards. 12271e3

v2.4.3

09 Aug 17:55
Compare
Choose a tag to compare

Addressed issues

  • Infinite loop while painting JList if layout hasn't been realised before. #204 9233fe2

v2.4.2

06 Aug 20:10
Compare
Choose a tag to compare

New in this release

  • Added checkbox trees through TristateTreeNode.
  • Added support for fullscreen mode of VCLJ #200
  • Updated to newer tree control icons (Linux and Windows).

Addressed issues

  • IconWrapper is added to itself. #196 ddf67db
  • NPE when moving cell popup. #202 d6c08d1
  • NPE while painting tree lines. #203 cb3e8c2
  • Table cells have an incorrect border when in full row selection mode.
  • Cell editor isn't being displayed if renderer used an icon. #199 5af510e
  • JTextComponent has unbounded size if in scrollpane. #201 4597251

v2.4.1

16 Jul 17:45
Compare
Choose a tag to compare

New in this release

  • Improved performance of JTable.
  • Added method to obtain instances of UIManager.LookAndFeelInfo for each theme that can be used to directly install a given theme using the UIManager.
    UIManager.LookAndFeelInfo[] infos = LafManager.getRegisteredThemeInfos();
    UIManager.setLookAndFeel(infos[0].getClassName()); // This installs the LafManager.getRegisteredThemes()[0] theme.
    The LookAndFeelInfo can also be instantiated directly (only supported themes):
    new ThemedDarklafInfo(new SolarizedDarkTheme());
    ````
  • Themes can now be provided as services of Theme.class.
  • Added preview version of a tree table component JTreeTable.

Addressed issues

  • Invalid input in JFormattedTextField isn't detected sometimes. 101fc06
  • AbstractButton#isBackgroundPaitnted isn't repsected. d86510b
  • Text in table cell gets shifted if editing is started. b550430
  • NPE when trying to reshow unneeded cell popup. #194 162a6c6
  • Fixed number cell editor being used even though column class isn't of type Number. #193 b550430
  • Background of text cell editor isn't completely filled. b76c0cc
  • Opening the theme settings after manually changing them doesn't reflect the changes. dff9fb2

v2.4.0

07 Jul 20:25
Compare
Choose a tag to compare

New in this release

  • Using non-default fonts with JTextField will now result in more visually centered text.
  • Opacity values for CustomThemedIcon can now be specified using float or double values as
    opposed to int percentages.
  • If properties aren't present in the property map for a CustomThemedIcon they are now searched
    for in the UIDefualts
  • SVG color definitions can now specify fallback keys for opacity values.
  • Accessing ThemeSettings will no longer instantiate the settings panel unnecessarily.
  • Improved visibility of which accent/selection color is selected settings panel.
  • Added LafManager#getLogLevel method to fetch current log level.
  • Decorations can now be toggled seamlessly [Windows].
  • The unified menubar on Windows can now be toggled by setting the DarkRootPaneUI.KEY_UNIFIED_MENUBAR property on the
    frames JRootPane.
  • Added JToggleButtonList component. A more general version of JCheckBoxList.
  • When hovering over the row of a JTree that isn't completely visible the full row will now be made visible using a popup.
  • Tooltips on components that aren't buttons now have the plain tooltip style by default.

Addressed issues

  • Default text doesn't have the same font as the text component it's painted on. c0756ed
  • ColoredRadioButton patches color of icon unnecessarily often. 6ff0ffc
  • Minimize butten in title bar won't loose rollover status [Windows]. 1e3693b
  • Fast scrolling doesn't work when mouse is over the scrollbar of an OverlayScrollPane. c98b7a4
  • Heavyweight popups have an incorrect location after frame is moved to second monitor with possibly different scaling mode. af00f15
  • Rounded and extended selection isn't painted correctly when text wrapping is enabled. 860680d
  • Icons of buttons aren't properly clipped. 87a5295
  • Selected and disabled JToggleButtons use the wrong foreground color. #191 6d4c3bc
  • After switching to a different Laf the incorrect PopupFactory is used. 1c3d33a
  • Laf isn't installed if theme hasn't changed but current laf isn't Darklaf when using LafManager#install(Theme). 9dd1371
  • Moving the lead selection of a JTree using ctrl + up/down won't result in a highlighted cell. fb0c825
  • Setting tooltip style directly on a JToolTip has no effect. 5ab22e5

v2.3.0

21 Jun 20:21
Compare
Choose a tag to compare

New in this release

  • Localisation for titlebar buttons.
  • Added option to make tabs closable on a per tab basis for ClosableTabbedPae.
  • Added utility method to create themed frame icons that change depending on the
    current theme:
    window.setIconImage(IconLoader.createFrameIcon(icon, window));
  • The value of ButtonConstants.KEY_SQUARE no longer affects the arc size of buttons.
  • If a button specifies the ButtonConstants.VARIANT_BORDERLESS style it no longer has a default margin of the focus border size.
    Use AbstractButton#setMargin to add back a margin.
  • Added option to specify a custom JScrollPane for use with OverlayScrollPane.
  • Color improvements and accent/selection color support for OneDark theme.
  • Selection color support for Solarized themes.
  • Added preset selection colors corresponding to each accent color.
  • Try to keep original pointer location when aligning tooltip.
  • Added warning for when a themed icon isn't loaded as themed.
  • Added warning for when a non-themed icon is loaded as themed.
  • Improved sub-pixel antialiasing for non-opaque windows on Windows. (Relevant JDK issue)
    • Before:
      no_aa

    • After:
      aa

Addressed issues

  • NPE when navigating tree in some scenarios. #182 198e5fb
  • Default buttons loose their default status after the theme has changed. 333f8a4
  • NPE when calculating baseline for text fields. #184 dec0c8e
  • DarkTextBorder on a component which isn't a JTextField has incorrect insets. 133bed0
  • Unfocused cells have the wrong foreground color. 4cba70f
  • JList incorrectly doesn't fully paint rows with striped background. e11da55
  • PopupColorChooser isn't displayed. c627637
  • Foreground color for selection color has incorrect value. c133c51
  • Popups show up at the wrong location after moving the frame to a screen with a different GraphicsConfiguration. 995da5a
  • The value of ComboBox.selectionBackground isn't respected. 6b9fa9f
  • JTree doesn't paint the full background if repainted area lies outside of the row bounds. 4e5fe2a
  • Tooltips have an incorrect position in some scenarios. a42f4bb

v2.2.3

11 Jun 22:53
Compare
Choose a tag to compare

New in this release

  • Improved ClosableTabbedPane layout and icon.

Addressed issues

  • Custom tab components in JTabbedPane are visible while dragging. 8ed59c9
  • Tooltips are opaque [macOS] #180 dfe435e

v2.2.2

09 Jun 14:11
Compare
Choose a tag to compare

New in this release

  • Improved internal frame design.
  • Tableheaders now use the default text alignment (center).
  • TooltipContext can now be used in combination with all tooltip styles.
  • Combobox popup now has a horizontal scrollbar if too narrow.

Addressed issues

  • NPE when painting internalframe titlebars. #179 9341cda
  • Bold text on button gets clipped. #178 d577de5
  • Button that is wider than high can't be clicked on lower half. #177 5f22e5a
  • Cell renderers don't respect alignment. #176 f9ed8d7

v2.2.1

01 Jun 21:26
Compare
Choose a tag to compare

New in this release

  • More reliable dark mode detection when using macOS Catalina in 'Auto' mode.
  • Improved scrollbars.

Addressed issues

  • Usage of translucent windows on unsupported screen devices #174. 0faa6ee
  • System theme setting isn't available in the theme settings panel [macOS]. deae214