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

Widget loader margin and padding #177

Open
seisatsu opened this issue Oct 3, 2017 · 4 comments
Open

Widget loader margin and padding #177

seisatsu opened this issue Oct 3, 2017 · 4 comments
Assignees
Labels
Milestone

Comments

@seisatsu
Copy link
Member

seisatsu commented Oct 3, 2017

Add a "padding" property and a "margin" property, each being a list with four values for top, right, bottom, and left.

Padding is the inside border and margin is the outside border.

@seisatsu seisatsu self-assigned this Oct 3, 2017
@seisatsu seisatsu added this to the Alpha-0.0.10 milestone Oct 3, 2017
@seisatsu seisatsu changed the title Widget loader padding and margin Widget loader margin and padding Oct 3, 2017
@seisatsu
Copy link
Member Author

No longer relevant to this repository.

@seisatsu
Copy link
Member Author

This code was moved into the core engine and the issue is again relevant.

@seisatsu seisatsu reopened this Oct 18, 2017
@seisatsu seisatsu modified the milestones: Alpha-0.0.11, Alpha-0.0.12 Oct 18, 2017
@pmer
Copy link
Member

pmer commented Oct 18, 2017

Does Driftwood have a widget layout algorithm right now? I.e., do we have something that will use margin yet?

@seisatsu
Copy link
Member Author

seisatsu commented Oct 18, 2017

Yes, a rudimentary one. That code is now in widgettree.py in the main engine. See the widgets folder in the uitest project for an example of widget tree descriptors.

@seisatsu seisatsu modified the milestones: Alpha-0.0.12, Alpha-future Oct 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants