Scaling: Replaced all Theme.uiScale by Theme.scale(Screen) so stuff scale accordingly to the Screen used by the Item/component
This commit is contained in:
parent
3148dc62a0
commit
cb74b6e5d5
50 changed files with 564 additions and 568 deletions
|
|
@ -6,11 +6,11 @@ Shape {
|
|||
id: root
|
||||
|
||||
property string position: "topleft" // Corner position: topleft/topright/bottomleft/bottomright
|
||||
property real size: 1.0 * Theme.uiScale // Scale multiplier for entire corner
|
||||
property real size: 1.0 * Theme.scale(Screen) // Scale multiplier for entire corner
|
||||
property int concaveWidth: 100 * size
|
||||
property int concaveHeight: 60 * size
|
||||
property int offsetX: -20 * Theme.uiScale
|
||||
property int offsetY: -20 * Theme.uiScale
|
||||
property int offsetX: -20 * Theme.scale(Screen)
|
||||
property int offsetY: -20 * Theme.scale(Screen)
|
||||
property color fillColor: Theme.accentPrimary
|
||||
property int arcRadius: 20 * size
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue