revert icons scaling on mobile
plasma mobile can't handle that
This commit is contained in:
parent
72ca2f79e0
commit
a1269ad059
@ -55,12 +55,12 @@ QtObject {
|
|||||||
* * desktop
|
* * desktop
|
||||||
*/
|
*/
|
||||||
property QtObject iconSizes: QtObject {
|
property QtObject iconSizes: QtObject {
|
||||||
property int small: Math.floor(fontMetrics.roundedIconSize(16 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
property int small: fontMetrics.roundedIconSize(16 * devicePixelRatio)
|
||||||
property int smallMedium: Math.floor(fontMetrics.roundedIconSize(22 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
property int smallMedium: fontMetrics.roundedIconSize(22 * devicePixelRatio)
|
||||||
property int medium: Math.floor(fontMetrics.roundedIconSize(32 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
property int medium: fontMetrics.roundedIconSize(32 * devicePixelRatio)
|
||||||
property int large: Math.floor(fontMetrics.roundedIconSize(48 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
property int large: fontMetrics.roundedIconSize(48 * devicePixelRatio)
|
||||||
property int huge: Math.floor(fontMetrics.roundedIconSize(64 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
property int huge: fontMetrics.roundedIconSize(64 * devicePixelRatio)
|
||||||
property int enormous: Math.floor(128 * devicePixelRatio * (Settings.isMobile ? 1.5 : 1))
|
property int enormous: 128 * devicePixelRatio
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -49,12 +49,12 @@ QtObject {
|
|||||||
* * desktop
|
* * desktop
|
||||||
*/
|
*/
|
||||||
property QtObject iconSizes: QtObject {
|
property QtObject iconSizes: QtObject {
|
||||||
property int small: Math.floor(fontMetrics.roundedIconSize(16 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
property int small: fontMetrics.roundedIconSize(16 * devicePixelRatio)
|
||||||
property int smallMedium: Math.floor(fontMetrics.roundedIconSize(22 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
property int smallMedium: fontMetrics.roundedIconSize(22 * devicePixelRatio)
|
||||||
property int medium: Math.floor(fontMetrics.roundedIconSize(32 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
property int medium: fontMetrics.roundedIconSize(32 * devicePixelRatio)
|
||||||
property int large: Math.floor(fontMetrics.roundedIconSize(48 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
property int large: fontMetrics.roundedIconSize(48 * devicePixelRatio)
|
||||||
property int huge: Math.floor(fontMetrics.roundedIconSize(64 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
property int huge: fontMetrics.roundedIconSize(64 * devicePixelRatio)
|
||||||
property int enormous: Math.floor(128 * devicePixelRatio * (Settings.isMobile ? 1.5 : 1))
|
property int enormous: 128 * devicePixelRatio
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user