When I create my %gr window, the variables iSizeX and iSizeY are identical to provide a square.
MA = WINIO@ ('%pv%^gr[user_resize,full_mouse_input,rgb_colours]&', iSizeX, iSizeY, DrawOnScreen)
However, when I resize the window, the graphics area is not a square anymore.
iSizeX = Clearwin_Info@ ('GRAPHICS_WIDTH')
iSizeY = Clearwin_Info@ ('GRAPHICS_DEPTH')
iSizeX = MIN (iSizeX, iSizeY)
iSizeY = iSizeX
This provides the values of a squared image, but the graphics area does not reduce it's size. I have tried several functions to update this new smaller size to the %gr area, but I had up to now no success.
Erwin