Darklaf - A themeable swing Look and Feel based on Darcula-Laf
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

4.1 KiB

Visual changes

  • The knob of the toggle button slider variant is now flush with the button border. 75fa223911
  • Made button shadow lighter in the SolarizedLightTheme. 7aedb3a38e
  • Buttons will now have the same height as combo boxes (and spinners). 7aedb3a38e
  • SolarizedLightTheme now supports custom accent colors. 0bd0de485a
  • Improved visibility for rollover/click button colors for dark high contrast theme. 8b283ef5d1

Behavioural changes

  • When using a custom background color1 for a combobox renderer the combobox will adapt the background color. 7f6681e33f
    • If the custom background is only intended for the popup then one can check whether the index is -1 in ListCellRenderer#getListCellRendererComponent which will be the case when painting the value in the combobox.
  • Custom fonts1 for combobox renderers will no longer be overwritten by the combobox font. 7f6681e33f
  • When using a custom background color1 for a spinner editor the spinner will adapt the background color. 04a9f17135
  • If the height of a combobox isn't large enough for the current value the margins will be reduced to try to fit the value inside. 4f29251aae

Api Changes

  • Added TooltipContext#setLayoutTarget which can be used to layout the tooltip relative to a different component than the tooltip is dispatched from.
  • Reintroduced textIcon* properties with fixed color values. #126 fa854b2dea
  • Added ScrollBarConstants#KEY_HIGHLIGHT_ON_SCROLL client property to enable scrollbar highlighting when scrolling. By default, this value gets initialised to the value of the ScrollBar.highlightOnScroll property of the UIManager (which is false by default). 6f6c8dbc90
  • Added ScrollBar.macos.hideScrollBar property to UIManager which determines whether the scrollbar should be hidden when it's not used currently (i.e. has no mouse interaction). By default, this value is false. 6f6c8dbc90
  • Added HelpButton#setUseColoredIcon to toggle between a colored and non-colored help icon. 81e37c3e1f

New components

Other changes

Addressed issues

  • NPE when using JScrollBar on macOS. (Kohei Sakurai) 7ee01c45d5
  • JComboBox has incorrect preferred size. 9459c75473
  • NPE on mouse-over when using JToolTip as a child of another component. 897766c504
  • Tooltip fade-in animation is started if used as child of another component. 8b1b5549d4
  • Text is truncated when editing table. 6df91b7aac
  • Tables don't use designated color renderer and editor. b1ca895e55
  • Popup for combobox is too large. 9b5aebca48
  • Focus border of slider toggle button is clipped. d6d500d067
  • Button looses rollover state after it has been pressed. 5709f5f113
  • Dropdown button of JSplitButton disappears after the theme has been changed. 0aad0104c1
  • Buttons who qualify for automatic borderless conversion and explicitly opt-in may display an incorrect background area. 55697f6411
  • Arrow buttons (as used in JComboBox, JSpinner and JSplitButton) can't be pressed near the edge. 52059aa4a1
  • Custom icons for a DefaultTreeCellRenderer are getting ignored. 82331b08d1
  • Snapped values of JSlider slightly differ from exact value. 2442196058

1: Not null and not of type UIResource. 897766c504