Page 1 of 1

Clipping problem canvas container with gadgets PB560b5

Posted: Tue Feb 21, 2017 11:47 am
by walbus
Clipping problem canvas container with gadgets

Code: Select all

OpenWindow(#PB_Any, #PB_Ignore, #PB_Ignore, 800, 600, "Test", #PB_Window_SystemMenu )
canvas_ID=CanvasGadget(#PB_Any, 50, 50, 700, 500, #PB_Canvas_Container)
ButtonGadget(1, 600, 100, 200, 100, "Test")

StartDrawing(CanvasOutput(canvas_ID))
Box(0,0, 700, 500, $AAAAAA)
StopDrawing()

Repeat
Until WaitWindowEvent()=#PB_Event_CloseWindow
Little hint:
On Windows and Mac all is OK

Re: Clipping problem canvas container with gadgets PB560b5

Posted: Wed Feb 22, 2017 8:56 am
by Fred
Unfortunately, it's a GTK3 limitation, you can't put widgets outside of the area