Dialog-Library - Wishlist

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: Dialog-Library - things which could be improved

Post 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:
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
PureLust
Enthusiast
Enthusiast
Posts: 477
Joined: Mon Apr 16, 2007 3:57 am
Location: Germany, NRW

Re: Dialog-Library - Wishlist

Post 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.
[Dynamic-Dialogs] - create complex GUIs the easy way
[DeFlicker] - easily deflicker your resizeable Windows
[WinFX] - Window Effects (incl. 'click-through' Window)
User avatar
Andre
PureBasic Team
PureBasic Team
Posts: 2056
Joined: Fri Apr 25, 2003 6:14 pm
Location: Germany (Saxony, Deutscheinsiedel)
Contact:

Re: Dialog-Library - Wishlist

Post 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
Bye,
...André
(PureBasicTeam::Docs & Support - PureArea.net | Order:: PureBasic | PureVisionXP)
Cyllceaux
Enthusiast
Enthusiast
Posts: 458
Joined: Mon Jun 23, 2014 1:18 pm
Contact:

Re: Dialog-Library - Wishlist

Post 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
PureLust
Enthusiast
Enthusiast
Posts: 477
Joined: Mon Apr 16, 2007 3:57 am
Location: Germany, NRW

Re: Dialog-Library - Wishlist

Post 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
[Dynamic-Dialogs] - create complex GUIs the easy way
[DeFlicker] - easily deflicker your resizeable Windows
[WinFX] - Window Effects (incl. 'click-through' Window)
User avatar
macros
User
User
Posts: 80
Joined: Wed Mar 15, 2006 1:47 pm
Location: Munich

Re: Dialog-Library - Wishlist

Post 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.
Post Reply