Anchor to sides
Posted
#1
(In Topic #555)
Trainee
Posted
Regular

Posted
Trainee
Posted
Guru

If you post your form here I will look at it and make it expandable for you.
If you are thinking VB then don't. Gambas does this in a very different way but once you get the hang of it you can do a lot.
Posted
Regular

squidink7 said
That's great! I will probably use it in my projects from now on, so thanks for letting me know about it. However it would still be nice to have an anchor option as it serves a different use case; say you wanted all the buttons and text to stay the same size but a frame in the middle to grow in size, sort of like how dolphin handles it (or whatever file manager your desktop comes with) Plus having either that or resizer integrated by default into gambas would make it more discoverable and easy to use.
Also have a peek at GambasGuiGeneric (https://gambas.one/gam…arm/?id=675&action=search) and the DockAnchor (https://gambas.one/gam…arm/?id=658&action=search) library it uses. These are early versions, though, and the most up-to-date copies of the DockAnchor project are on my GitHub (https://github.com/ssepan2?tab=repositories).
Downside is that it does require code, but I tried to emulate WinForms Docking/Anchoring.
To try out (that particular) project, you would need:
- https://github.com/ssepan2/GambasGuiGeneric
- https://github.com/ssepan2/DockAnchor
- https://github.com/ssepan2/GambasGuiAppUtilityLib
- https://github.com/ssepan2/GambasAppUtilityLib
- https://github.com/ssepan2/GambasSomeModelLib
However if you just want to read the code and see how I am using DockAnchor in the GUI app, you would only need to grab the 1st two.
To run DockAnchor, you need #2 and #4.
Posted
Guru

<IMG src="https://www.cogier.com/gambas/ExpandIt.png">
</IMG>Here is the program: -
Posted
Trainee
1 guest and 0 members have just viewed this.


