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: 2141
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: 478
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: 2141
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: 514
Joined: Mon Jun 23, 2014 1:18 pm

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

Re: Dialog-Library - Wishlist

Post by PureLust »

Because I was gone for quite some time, I'm wondering, if there have been any changes / improvements to the Dialog-Library within the last 5 years.

Maybe someone would be so kind as to bring me up to date? :)
[Dynamic-Dialogs] - create complex GUIs the easy way
[DeFlicker] - easily deflicker your resizeable Windows
[WinFX] - Window Effects (incl. 'click-through' Window)
User avatar
jacdelad
Addict
Addict
Posts: 2027
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: Dialog-Library - Wishlist

Post by jacdelad »

Unfortunately not much, basically just the new gadgets added.
I've been here for some time now to know that there's a good chance one day Fred will release a sudden beta which addresses the dialog library without warning. He's full of surprises.
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Post Reply