TreeViewDelegate: Make it actually vertically centered
Make it actually vertically centered
The verticalAlignment didn't make any difference without externally imposed height constraints.
Add return type annotations to methods
Unfortunately, that's the best we can do, since we still can't talk about the QModelIndex type in QML.
Replace top/bottom padding with vertical
Results in less bindings, less code, and more flexibility.
Why the diff is slightly larger than +1-2? Because the patch also moves left/right padding declarations closer to the related properties.
Edited by ivan tkachenko