Canvas resizing
BlitzMax Forums/MaxGUI Module/Canvas resizing
| ||
Hey guys, I used setgadgetlayout() to automatically resize the canvas to the window, but when this happens, the canvas will only draw the part of itself that wasn't added. Could you guys help me find out what's wrong? |
| ||
As already mentioned in another post from you, use this: SetViewport 0,0,GadgetWidth( canvas ),GadgetHeight( canvas ) to resize to the visible area, that should do the trick. |
| ||
That made it work, thanks! |