Splitter gadget - minimal size

Just starting out? Need help? Post your questions and find answers here.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Splitter gadget - minimal size

Post by blueznl »

Is there a way to tell the splitter gadget to keep a minimal size for the resized gadgets? I now end up in a situation where the related gadgets become invisible (size 0).
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
User avatar
Kiffi
Addict
Addict
Posts: 1506
Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9

Re: Splitter gadget - minimal size

Post by Kiffi »

https://www.purebasic.com/documentation/gadget/splittergadget.html wrote: SetGadgetAttribute(): With one of the following attribute:
#PB_Splitter_FirstMinimumSize : Sets the minimum size (in pixels) than the first gadget can have.
#PB_Splitter_SecondMinimumSize: Sets the minimum size (in pixels) than the second gadget can have.
Hygge
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Re: Splitter gadget - minimal size

Post by blueznl »

Ah, completely forgot about that. Thank you!
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
Post Reply