#Resizing a Polygone inside a pane issue
1 messages ยท Page 1 of 1 (latest)
Here is an AI assisted attempt to answer your question ๐ค. Maybe it helps! In any case, a human is on the way ๐. To continue talking to the AI, you can use </chatgpt:1108714622413963314>.
1) When I runned my program, that polygone is not appearing until I resize the window. (I think cause of I added points inside the listener, maybe I just need to initialize it outside of listener but idk.)
2) When I'm making window bigger, there is no prob
o call a redraw method after adding points) 2) I want to resize my polygone when the user resizes the window. How can I achieve this? (You can add a listener to the pane's widthProperty and heightProperty, and then update the points of the polygone accordingly)
- AI generated response