Details
Details
- Reviewers
Brecht Van Lommel (brecht) - Group Reviewers
User Interface - Commits
- rBa46836854049: UI: use pixel units for tile sizes and node auto-offset margin
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
Comment Actions
The reason I initially didn't use PROP_PIXEL for node auto-offset was because DPI gets applied to it. So I'm not sure if we should actually do it, strictly speaking it's not a pixel value.
For the tile size this doesn't seem to be the case.
Comment Actions
We have the same for other preferences like gizmo size.
I think it is a pixel size before DPI scaling, which isn't that different than an image size in pixels before zooming or DPI scaling.
Comment Actions
I think that's fine as a definition, but we should probably make that explicit somewhere. Don't see a better place than the enum item definition for it, so would propose something like this: