Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize rules for LABELS and TEXT Widgets #1

Open
wimvanderham opened this issue Mar 11, 2018 · 1 comment
Open

Resize rules for LABELS and TEXT Widgets #1

wimvanderham opened this issue Mar 11, 2018 · 1 comment

Comments

@wimvanderham
Copy link

Hi Patrick,
First of all my compliments for this elegant resize library.
It works quite good for regular windows.
A little less with ADM2 windows in particular for the "special" way of handling pages and lazy starts.
Anyway, I would like to ask the rules used for resizing TEXT widgets and LABELS. I've attached a modified versione of your test window to show that when resizing the LABELS don't align nicely anymore and TEXT widgets take more space without using is for something. I think you should introduce something to allow "anchoring" so the move of one widget influences the other widget. Like e.g. LABEL and FILL-IN.
TestWindow.w.txt

Let me know what you think about it.
Keep up the good work!

@patrickTingen
Copy link
Owner

Hi Wim, thanks for your test case. I was able to solve the issue with text widgets quite easily. In addition, literals were also not a big problem, so you might want to check the new commit, including your test window.

The introduction of anchoring might be a good idea; it would give an option to solve the 'description' label of the editor in your example. But anchoring is a beast by itself so I would like to give that an extra thought. Ideas are welcome by the way

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants