Hi all
I have a window with the #PB_SizeGadget and now I want the gadgets in the window to resize when the user sizes the window. Here is a code snippet, but it doesn´t work.
Code: Select all
if waitwindowevent = #PB_EventSizeWindow
resizegadget(0,8,8,windowwidth()-24,windowheight()-33) ; 0 is a panelgadget
endif
We always need to hear both sides of the story (by Phil Collins)