Page 2 of 2

Re: Dialog-Library - things which could be improved

Posted: Thu May 10, 2018 8:19 pm
by Andre
Andre wrote:Currently you can't even resize included gadgets inside a ScrollArea (e.g. like a listicon, which should get a greater width, when the window + container was resized to a larger size) manualy with ResizeGadget(). At least this should be possible to adapt the gadgets inside a ScrollArea manually after dialog resize. :!:
I reached this limitation several times again now, and the only workaround is to use a ScrollAreaGadget / ContainerGadget in the dialog declaration and manually add all gadgets inside of it, to be able to resize this inner gadgets manually after a dialog resize.
But as you can imagine, this is a lot of effort...

So (again) this would be an important point and great help, if the Dialog library could be improved on this... (and all other wishes) :twisted:

Re: Dialog-Library - Wishlist

Posted: Fri Jan 31, 2020 10:05 am
by PureLust
@Fred,

while you are working on some alignment and size issues within the Dialog-Library...

Maybe you can include, that hidden Gadgets will be calculated with zero size?

So even though one can't remove a Gadget without recreating the Dialog, this will have nearly the same effect and will be very helpful.

Re: Dialog-Library - Wishlist

Posted: Fri Jan 31, 2020 11:40 am
by Andre
PureLust wrote: Maybe you can include, that hidden Gadgets will be calculated with zero size?

So even though one can't remove a Gadget without recreating the Dialog, this will have nearly the same effect and will be very helpful.
A very good idea :D

Re: Dialog-Library - Wishlist

Posted: Wed Jun 24, 2020 11:45 am
by Cyllceaux
oh.. I use the hidden gadgets to give StringGadgets, Trees and ListViews a default size.
My StringGadgets have most a Background text.

The Problem is, when you work with higher DPI a "width=50" is messed up.
But a hidden TextGadget with a Text has a perfect Width for this...
Or Gadgets based on Canvas

I use exzessive "Multibox" for this

Re: Dialog-Library - Wishlist

Posted: Fri Jan 28, 2022 8:32 pm
by PureLust
PureLust wrote: Fri Jan 31, 2020 10:05 am @Fred, . . . Maybe you can include, that hidden Gadgets will be calculated with zero size?
[PUSH] ... maybe as an feature-update for PB 6.00? :D

Re: Dialog-Library - Wishlist

Posted: Tue Feb 15, 2022 3:15 pm
by macros
I would also love to see the first suggestion implemented (Calculate width/height of hidden elements as zero) to allow smoothly adjusting additional toolbars or elements. An example would be a color picker in a drawing application which can be hidden away.

Edit: To prevent changing behaviour of old software this could be enabled via an XML attribute.

The second suggestion of adjusting gridbox columns would be good too, although I do not deem it nearly as important as suggestion one.