Changeset View
Changeset View
Standalone View
Standalone View
src/qml/BaseTheme.qml
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Line(s) | 21 | Item { | |||
---|---|---|---|---|---|
60 | } | 60 | } | ||
61 | 61 | | |||
62 | FontMetrics { | 62 | FontMetrics { | ||
63 | id: playListTrackTextHeight | 63 | id: playListTrackTextHeight | ||
64 | font.weight: Font.Bold | 64 | font.weight: Font.Bold | ||
65 | } | 65 | } | ||
66 | 66 | | |||
67 | property int playListDelegateHeight: (playListTrackTextHeight.height > dp(28)) ? playListTrackTextHeight.height : dp(28) | 67 | property int playListDelegateHeight: (playListTrackTextHeight.height > dp(28)) ? playListTrackTextHeight.height : dp(28) | ||
68 | property int playListDelegateWithHeaderHeight: playListDelegateHeight + | 68 | | ||
69 | elisaTheme.layoutVerticalMargin * 5 + | | |||
70 | playListAuthorTextHeight.height + | | |||
71 | playListAlbumTextHeight.height | | |||
72 | property int playListHeaderHeight: elisaTheme.layoutVerticalMargin * 5 + | 69 | property int playListHeaderHeight: elisaTheme.layoutVerticalMargin * 5 + | ||
73 | playListAuthorTextHeight.height + | 70 | playListAuthorTextHeight.height + | ||
74 | playListAlbumTextHeight.height | 71 | playListAlbumTextHeight.height | ||
75 | 72 | | |||
76 | property int trackDelegateHeight: dp(45) | 73 | property int trackDelegateHeight: dp(45) | ||
77 | 74 | | |||
78 | property int coverImageSize: dp(180) | 75 | property int coverImageSize: dp(180) | ||
76 | property int contextCoverImageSize: dp(100) | ||||
79 | property int smallImageSize: dp(32) | 77 | property int smallImageSize: dp(32) | ||
80 | 78 | | |||
81 | property int maximumMetadataWidth: dp(300) | 79 | property int maximumMetadataWidth: dp(300) | ||
82 | 80 | | |||
83 | property int tooltipRadius: dp(3) | 81 | property int tooltipRadius: dp(3) | ||
84 | property int shadowOffset: dp(2) | 82 | property int shadowOffset: dp(2) | ||
85 | 83 | | |||
86 | property int delegateToolButtonSize: dp(34) | 84 | property int delegateToolButtonSize: dp(34) | ||
Show All 36 Lines |