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

UI: render equation columns with separate text fields, rather than padding with spaces #100

Closed
frothga opened this issue Mar 19, 2020 · 0 comments

Comments

@frothga
Copy link
Collaborator

frothga commented Mar 19, 2020

Each container node will hold a set of tab stops collated from its children. When a child renders, it will supply a separate string for each column. EquationTreeCellRenderer will return a widget with separate text fields for each column and a layout manager that puts them in exactly the right horizontal position.

This will give better control over positioning than the current method, which involves padding with narrow spaces until the elements reach approximate alignment. The current approach depends on the available space characters in the chosen font. It is both fragile and expensive. With formal text fields, the horizontal position will be exact.

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

No branches or pull requests

1 participant