You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: Ruler Property Editor for "LayoutView::create_measure_ruler()" #342
The newly added feature LayoutView::create_measure_ruler() is extremely powerful and useful as I expected! Thank you very much for providing this.
To further enhance this feature, I would like to have an enhanced Ruler Property Editor with a GUI something like below. I hope the GUI is self-explanatory.
I'm preparing a separate test report regarding LayoutView::create_measure_ruler()#341 where some issues captured through a kind of stress test will be described.
To me, it seems that the issues are (perhaps) related to the deep part of the "auto measure algorithm."
The implementation of LayoutView::create_measure_ruler() that wraps the algorithm looks fine.
I think this enhanced GUI should help debug the issues, too.
thanks for this suggestion. I striving for generic functionality with as many use cases as possible. So I'd like to modify the proposal somewhat. Here is an idea:
"Swap points" would swap P1 and P2 (a function I wanted myself). "Snap to layout" would snap P1, P2 or both to layout edges.
The seed points would be P1 and P2 then. If you set P1 = P2, the effect is the same as for "create_measure_ruler". All these buttons imply "Apply".
You can try this solution in the "issue-342" branch.
Activity
klayoutmatthias commentedon Sep 1, 2019
Hi Kazzz,
thanks for this suggestion. I striving for generic functionality with as many use cases as possible. So I'd like to modify the proposal somewhat. Here is an idea:
"Swap points" would swap P1 and P2 (a function I wanted myself). "Snap to layout" would snap P1, P2 or both to layout edges.
The seed points would be P1 and P2 then. If you set P1 = P2, the effect is the same as for "create_measure_ruler". All these buttons imply "Apply".
You can try this solution in the "issue-342" branch.
Best regards,
Matthias
Kazzz-S commentedon Sep 1, 2019
Hi Matthias,
Thank you again for your positive and prompt action.
Your idea is fine with me. "Swap points" is the one I want, too!
I'll try the branch.
With warm regards,
Kazzz
Kazzz-S commentedon Sep 3, 2019
Hi Matthias,
I've confirmed that the new GUI in the "issue-342" branch works as you described.
It's fascinating and makes my job easy!
With best regards,
Kazzz
Follow-up on #342: fixed unit tests.