Open seisatsu opened 7 years ago
No longer relevant to this repository.
This code was moved into the core engine and the issue is again relevant.
Does Driftwood have a widget layout algorithm right now? I.e., do we have something that will use margin
yet?
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.
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.