At the Moment it is hard to determine the inner size of a CanvasGadget when it was created with #PB_Canvas_Border flag.
So it would be nice to have #PB_Canvas_InnerWidth and #PB_Canvas_InnerHeight for GetGadgetAttribute() (as an equivalent to #PB_ScrollArea_InnerWidth and #PB_ScrollArea_InnerHeight).
#PB_Canvas_InnerWidth and #PB_Canvas_InnerHeight
Re: #PB_Canvas_InnerWidth and #PB_Canvas_InnerHeight
Would OutputWidth and OutputHeight not be able to take over ?
Re: #PB_Canvas_InnerWidth and #PB_Canvas_InnerHeight
Thanks Bisonte! Yes, that is a viable way! I completely forgot these two functions!
But IMHO it still would be nice to have #PB_Canvas_InnerWidth and #PB_Canvas_InnerHeight so you can get the information without Start/StopDrawing(CanvasOutput()).
(Hmmm... Why don't I get an email on replies anymore? On a quick look into my forum settings I can't find the reason... Guess I have to take a deeper look in the near future... (Damn, I'm getting lazy )
But IMHO it still would be nice to have #PB_Canvas_InnerWidth and #PB_Canvas_InnerHeight so you can get the information without Start/StopDrawing(CanvasOutput()).
(Hmmm... Why don't I get an email on replies anymore? On a quick look into my forum settings I can't find the reason... Guess I have to take a deeper look in the near future... (Damn, I'm getting lazy )