Try simple, this bug damage the layout absolutelly.
Code: Select all
OpenWindow (0, 0, 0, 200, 200, "",#PB_Window_SystemMenu | #PB_Window_ScreenCentered)
CreateImage (0, 200, 200)
StartDrawing (ImageOutput(0))
DrawingMode (#PB_2DDrawing_Transparent )
Box (0, 0, 200, 200, $FF)
DrawText (60, 80, " Hello World !", 0)
ClipOutput(60, 80, 150, 150)
DrawText (60, 80, " Hello World !", 0)
StopDrawing ()
ImageGadget (0, 0, 0, 200, 200 , ImageID (0))
Repeat
Until WaitWindowEvent()=#PB_Event_CloseWindow