Commit e34958a0 authored by Noah Davis's avatar Noah Davis 🌵
Browse files

[Units] Add sizeForLabels

parent e5f75593
......@@ -45,8 +45,8 @@ QtObject {
*/
property QtObject iconSizes: QtObject {
// Breeze
property int defaultSize: units.iconSizes.auto
property int auto: fontMetrics.roundedIconSize(gridUnit * (QtQuickControlsPrivate.Settings.isMobile ? 1.5 : 1))
property int sizeForLabels: units.iconSizes.auto
property int auto: fontMetrics.roundedIconSize(fontMetrics.height)
property int tiny: fontMetrics.roundedIconSize(8 * devicePixelRatio)
property int tinySmall: fontMetrics.roundedIconSize(12 * devicePixelRatio)
// Breeze
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment