#JavaFX Rectangles

1 messages · Page 1 of 1 (latest)

halcyon socket
#

I want to create 2 rectangle in each other but I want to they act like they're 1 rectangle. When I resized the window or rotated the rectangle, the sharph must be seen same again. Example figures are attached. The distance between up/right/left must stay constant.

mild valeBOT
#

<@&987246487241105418> please have a look, thanks.

sage stratus
#

u make the small on use constraints on the size of the bigger one

#

if that is to complex, use a layout manager where u place both in, and use the layout manager to 'guard"' the sizes