GadgetHeight/Width, CanvasGadget and Dialogs
Posted: Thu Feb 22, 2024 2:53 pm
I use my own controls. All of them use the CanvasGadget.
So, my Problem is, I like the DialogManager.
The DialogManager use this
for Gadgets to know the required size. Is there a posibility to override or set this for a CanvasGadget? So I can give my own controls a "fixed" initial heigth and with? I don't mean the xml attributes, I really mean this for the gadgets.
So, my Problem is, I like the DialogManager.
The DialogManager use this
Code: Select all
GadgetHeight(gadget,#PB_Gadget_RequiredSize)
GadgetWidth(gadget,#PB_Gadget_RequiredSize)