Page 1 of 1

Splitter gadget - minimal size

Posted: Sat Aug 03, 2024 4:42 pm
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).

Re: Splitter gadget - minimal size

Posted: Sat Aug 03, 2024 4:47 pm
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.

Re: Splitter gadget - minimal size

Posted: Sun Aug 04, 2024 1:52 am
by blueznl
Ah, completely forgot about that. Thank you!