mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2025-12-06 22:10:54 +03:00
Linux with FlatLaf window decorations: right and bottom window resize drag areas were 2px smaller than at left and top sides
This commit is contained in:
@@ -119,9 +119,10 @@ public abstract class FlatWindowResizer
|
||||
|
||||
int x = 0;
|
||||
int y = 0;
|
||||
int width = resizeComp.getWidth();
|
||||
int height = resizeComp.getHeight();
|
||||
if( width == 0 || height == 0 )
|
||||
Container cont = topDragComp.getParent();
|
||||
int width = cont.getWidth();
|
||||
int height = cont.getHeight();
|
||||
if( width <= 0 || height <= 0 )
|
||||
return;
|
||||
|
||||
Insets resizeInsets = getResizeInsets();
|
||||
|
||||
Reference in New Issue
Block a user