Using StyleMetrics
shows warning without alternative being available
#6698
Labels
a:widgets
Implementation of widgets (from std-widgets.slint) and their styles (mF,bS)
enhancement
New feature or request
Consider this SlintPad demo (see comments):
I know, of course, that you don't need
StyleMetrics
forVerticalLayout
, but can useVerticalBox
instead. In my app, I needStyleMetrics.layout-padding
andStyleMetrics.layout-spacing
for other purposes, and have no way to get rid of the deprecation warnings without copying the literal values, which wouldn't adhere to the single-source-of-truth principle.The text was updated successfully, but these errors were encountered: