Closed Enyium closed 3 weeks ago
Hi, and thanks again for your request :-).
There is a common issue for the public styling resources #3687.
I will start with the layout settings yet. It's true because of StylingMetrics
is deprecated now we should at least provide everything public that is available by StyleMetrics
.
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.