Merge branch 'flatlaf-3.5.4' into main

This commit is contained in:
Karl Tauber
2024-12-09 01:12:27 +01:00
3 changed files with 11 additions and 3 deletions

View File

@@ -7,12 +7,18 @@ FlatLaf Change Log
- Tree: Support for alternate row highlighting. (PR #903) - Tree: Support for alternate row highlighting. (PR #903)
- Extras: `FlatSVGIcon` color filters now can access painting component to - Extras: `FlatSVGIcon` color filters now can access painting component to
implement component state based color mappings. (PR #906) implement component state based color mappings. (issue #906)
## 3.5.4
#### Fixed bugs #### Fixed bugs
- HTML: Fixed NPE when using HTML text on a component with `null` font. (issue - HTML: Fixed NPE when using HTML text on a component with `null` font. (issue
#930; PR #931; regression in 3.5) #930; PR #931; regression in 3.5)
- Linux: Fixed NPE when using FlatLaf window decorations and switching theme.
(issue #933; regression in 3.5.3)
## 3.5.3 ## 3.5.3

View File

@@ -272,6 +272,7 @@ public abstract class FlatWindowResizer
public void doLayout() { public void doLayout() {
super.doLayout(); super.doLayout();
if( centerComp != null && centerComp.isVisible() )
centerComp.setBounds( 0, 0, resizeComp.getWidth(), resizeComp.getHeight() ); centerComp.setBounds( 0, 0, resizeComp.getWidth(), resizeComp.getHeight() );
} }
@@ -376,6 +377,7 @@ public abstract class FlatWindowResizer
@Override @Override
protected void beginResizing( int resizeDir ) { protected void beginResizing( int resizeDir ) {
centerComp.setBounds( 0, 0, resizeComp.getWidth(), resizeComp.getHeight() );
centerComp.setCursor( getPredefinedCursor( resizeDir ) ); centerComp.setCursor( getPredefinedCursor( resizeDir ) );
centerComp.setVisible( true ); centerComp.setVisible( true );
} }

View File

@@ -14,7 +14,7 @@
# limitations under the License. # limitations under the License.
# #
flatlaf.releaseVersion = 3.5.3 flatlaf.releaseVersion = 3.5.4
flatlaf.developmentVersion = 3.6-SNAPSHOT flatlaf.developmentVersion = 3.6-SNAPSHOT
org.gradle.parallel = true org.gradle.parallel = true