we need bigger buttons on mobile
as is an hack, was tried to be removed, but it doesn't work
This commit is contained in:
parent
a4b74ea551
commit
f301c7ea2d
@ -55,12 +55,12 @@ QtObject {
|
||||
* * desktop
|
||||
*/
|
||||
property QtObject iconSizes: QtObject {
|
||||
property int small: fontMetrics.roundedIconSize(16 * devicePixelRatio)
|
||||
property int smallMedium: fontMetrics.roundedIconSize(22 * devicePixelRatio)
|
||||
property int medium: fontMetrics.roundedIconSize(32 * devicePixelRatio)
|
||||
property int large: fontMetrics.roundedIconSize(48 * devicePixelRatio)
|
||||
property int huge: fontMetrics.roundedIconSize(64 * devicePixelRatio)
|
||||
property int enormous: 128 * devicePixelRatio
|
||||
property int small: Math.floor(fontMetrics.roundedIconSize(16 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
||||
property int smallMedium: Math.floor(fontMetrics.roundedIconSize(22 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
||||
property int medium: Math.floor(fontMetrics.roundedIconSize(32 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
||||
property int large: Math.floor(fontMetrics.roundedIconSize(48 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
||||
property int huge: Math.floor(fontMetrics.roundedIconSize(64 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
||||
property int enormous: Math.floor(128 * devicePixelRatio * (Settings.isMobile ? 1.5 : 1))
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -49,12 +49,12 @@ QtObject {
|
||||
* * desktop
|
||||
*/
|
||||
property QtObject iconSizes: QtObject {
|
||||
property int small: fontMetrics.roundedIconSize(16 * devicePixelRatio)
|
||||
property int smallMedium: fontMetrics.roundedIconSize(22 * devicePixelRatio)
|
||||
property int medium: fontMetrics.roundedIconSize(32 * devicePixelRatio)
|
||||
property int large: fontMetrics.roundedIconSize(48 * devicePixelRatio)
|
||||
property int huge: fontMetrics.roundedIconSize(64 * devicePixelRatio)
|
||||
property int enormous: 128 * devicePixelRatio
|
||||
property int small: Math.floor(fontMetrics.roundedIconSize(16 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
||||
property int smallMedium: Math.floor(fontMetrics.roundedIconSize(22 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
||||
property int medium: Math.floor(fontMetrics.roundedIconSize(32 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
||||
property int large: Math.floor(fontMetrics.roundedIconSize(48 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
||||
property int huge: Math.floor(fontMetrics.roundedIconSize(64 * devicePixelRatio) * (Settings.isMobile ? 1.5 : 1))
|
||||
property int enormous: Math.floor(128 * devicePixelRatio * (Settings.isMobile ? 1.5 : 1))
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user