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 x = 0;
|
||||||
int y = 0;
|
int y = 0;
|
||||||
int width = resizeComp.getWidth();
|
Container cont = topDragComp.getParent();
|
||||||
int height = resizeComp.getHeight();
|
int width = cont.getWidth();
|
||||||
if( width == 0 || height == 0 )
|
int height = cont.getHeight();
|
||||||
|
if( width <= 0 || height <= 0 )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Insets resizeInsets = getResizeInsets();
|
Insets resizeInsets = getResizeInsets();
|
||||||
|
|||||||
Reference in New Issue
Block a user