Scale preview padding in UITheme metrics
Apply scaling to previewPadding metric while keeping previewHeightPercent intentionally unscaled. Adds clarifying comment about the different scaling behavior between these two preview-related metrics.
This commit is contained in:
1 parent
3e0ba4488b
commit
4e156e1617
2 files changed
+4
-1
No files matched your search
@@ -110,7 +110,7 @@ struct ThemeMetrics {
|
||||
// Expected sizeof(ThemeMetrics), in bytes. scaleThemeMetrics() static_asserts
|
||||
// against this so a new/removed metric field can't slip through unclassified;
|
||||
// update it after adding a field (and decide there whether the field scales).
|
||||
inline constexpr unsigned THEME_METRICS_SIZEOF = 216;
|
||||
inline constexpr unsigned THEME_METRICS_SIZEOF = 224;
|
||||
|
||||
enum UIIcon { None = 0, Folder, Text, Image, Book, File, Settings, Transfer, Library, Wifi, Hotspot, Bookmark, Firmware };
|
||||
|
||||
|
||||
Reference in new issue
Block a user