Hello purebasic-team,
I would appreciate if a kind of Layout-Manager could included to Purebasic. in a
similar way like java oder TK/Tcl.
This would help to arange Gadgets more easy and proper especially when the
window will be resized. All Gadgets will maybe resized and rearranged according
the rules/mode of the layout-manager. I know that somewhere here in the forums exsisting
a couple of approaches to realize this - but i would prefer to have it native in purebasic without
additional .pbi or something else.
Thanks
What is about a Layout-Manager?
Re: What is about a Layout-Manager?
+1
There are a few custom solutions floating around the forum which all have their pros and cons. So I'd really like to have a native way of doing this too!
There are a few custom solutions floating around the forum which all have their pros and cons. So I'd really like to have a native way of doing this too!
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: What is about a Layout-Manager?
Yes, it's the main purpose of the dialog library.
Re: What is about a Layout-Manager?
Hm, but I don't want/need/like the overhead of the whole Dialog library (XML, everything as actual plain text etc.) just to be able to use a layout manager. Why not make it work in the classic way too?
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: What is about a Layout-Manager?
We though about it, but the library would be a bit hard to use. Still it could be added somewhen.
Re: What is about a Layout-Manager?
@Alexi
Looks good. Still, what has your yet-to-be-released product to do with this particular feature request? After all this isn't the place to advertise your or any other (commercial) product...
As it has already been said: There are numerous ways of doing it but we want a native solution!
Looks good. Still, what has your yet-to-be-released product to do with this particular feature request? After all this isn't the place to advertise your or any other (commercial) product...
As it has already been said: There are numerous ways of doing it but we want a native solution!
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: What is about a Layout-Manager?
If we just had:
FirstChildGadget(gadget)
NextChildGadget(gadget)
Would be straightforward, just binding the #PB_Event_SizeWindow and puting the layout flags in the gadget data. I have already done it, but without those functions requires a lot more work.
FirstChildGadget(gadget)
NextChildGadget(gadget)
Would be straightforward, just binding the #PB_Event_SizeWindow and puting the layout flags in the gadget data. I have already done it, but without those functions requires a lot more work.