From c71c8e4e78b7f640ade98818580291da1c62f217 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Wed, 26 Feb 2025 20:42:49 +0100 Subject: [PATCH] Documentation update --- CHANGELOG.md | 2 +- THEMES-DEV.md | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ae35ed29..2f514941e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ ### Detailed list of changes * Added a system status element showing the Blueooth, Wi-Fi, cellular and battery status on screen +* Added a "Display clock" setting to the UI settings menu to display an on screen clock (disabled by default) * Added translations for Traditional Chinese (zh_TW) * Increased the roundness for all corners in the menu system and for the notification popups * Increased the background blur slightly when a menu is open @@ -24,7 +25,6 @@ * (Linux) Added support for the Flatpak release of Ruffle * (Linux) Changed the AppImage find rule for Mandarine to mandarine-qt*.AppImage * Added the .ruf file extension to the flash system -* Added a "Display clock" setting to the UI settings menu to display an on screen clock (disabled by default) * Refactored the helpsystem code and added support for using an arbitrary amount of helpsystem elements * Added support for specifying which specific entries to display for the helpsystem elements * Added an "entryLayout" property to the helpsystem element to control the display order for the icons and text diff --git a/THEMES-DEV.md b/THEMES-DEV.md index 8d6047684..10353068d 100644 --- a/THEMES-DEV.md +++ b/THEMES-DEV.md @@ -3595,13 +3595,13 @@ Instances per view: Properties: * `pos` - type: NORMALIZED_PAIR - - Default is `0.984 0.016` -* `size` - type: NORMALIZED_PAIR - - The size property works a bit different for this element compared to all other elements as only the height is considered. The width is automatically calculated based on the aspect ratio of the indicator icons plus the value set for the `entrySpacing` property. So it's recommended to just set the width to `0` - - Minimum value is `0 0.01` and maximum value is `0 0.5` - - Default is `0 0.035` + - Default is `0.982 0.016` +* `height` - type: FLOAT + - The sizing for this element works a bit different compared to most other elements as the width is automatically calculated based on the aspect ratio of the indicator icons plus the value set for the `entrySpacing` property. In order to keep sizing consistent across horizontal and vertical screen orientations and to also align with the sizing logic used by the `helpsystem` and `clock` elements, the `height` property works similarly to the `fontSize` property used by those elements. This means the actual height calculation in pixels is made as a percentage of the screen height for horizontally oriented screens or the screen width for vertically oriented screens. + - Minimum value is `0.01` and maximum value is `0.5` + - Default is `0.035` * `origin` - type: NORMALIZED_PAIR - - Where on the element `pos` refers to. For example, an origin of `0.5 0.5` and a `pos` of `0.5 0.5` would place the element exactly in the middle of the screen. If the position and size attributes are themeable, origin is implied. + - Where on the element `pos` refers to. For example, an origin of `0.5 0.5` and a `pos` of `0.5 0.5` would place the element exactly in the middle of the screen. - Minimum value per axis is `0` and maximum value per axis is `1` - Default is `1 0` * `fontPath` - type: PATH