The OpenD Programming Language

Widget.defaultMargin

Not stable.

Values are scaled with dpi after assignment. If you override the virtual functions, this may be ignored.

So if you set defaultPadding to 4 and the user is on 150% zoom, it will multiply to return 6.

class Widget
Rectangle defaultMargin;

Meta

History

Added January 5, 2023