Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I can detect screen dpi and resize widgets in code. But how can i re-scale dimensions comes from stylesheet?
Hi,
What dimension are you referring to ?
@SGaist Hi, I would like to adjust dimensions like max-width, min-width xx px. I would like to re-scale px to dpi..
Then you should create your style sheet dynamically so you can update the values you need from code.
So you mean i should make a dynamic style sheet creator which part of my app. Yes it's a idea but not practical way.
Can't i handle style sheet engine or applicator in qt class somewhere?
Why a style sheet generator ? How are you currently setting the style sheet ?