diff options
author | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2022-06-06 10:02:23 +0200 |
---|---|---|
committer | kamel5 <vdr.kamel5 (at) gmx (dot) net> | 2022-06-09 13:51:21 +0200 |
commit | 367119fbd656039e30d4bccfffd000bfb31759b3 (patch) | |
tree | f220e95e0f37fad9b85971978bb22fcbec0aadc4 | |
parent | fa070762889086cdc9128daa1d79575163665527 (diff) | |
download | skin-nopacity-367119fbd656039e30d4bccfffd000bfb31759b3.tar.gz skin-nopacity-367119fbd656039e30d4bccfffd000bfb31759b3.tar.bz2 |
Better horizontal align of StatusIcons
The right side of the status icons overlapped with the lower right
corner. The distance to the right edge has been increased.
-rw-r--r-- | geometrymanager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/geometrymanager.c b/geometrymanager.c index 0685a37..9bc7c4c 100644 --- a/geometrymanager.c +++ b/geometrymanager.c @@ -158,7 +158,7 @@ void cGeometryManager::SetGeometry(void) { channelStatusIconBorder = 5; channelStatusIconSize = channelFooterHeight - 2 * channelStatusIconBorder; channelStatusIconsWidth = 8 * channelStatusIconSize + 6 * channelStatusIconBorder; - channelStatusIconX = channelX + channelWidth - channelStatusIconsWidth - 3 * channelStatusIconBorder; + channelStatusIconX = channelX + channelWidth - channelStatusIconsWidth - channelFooterHeight / 2; channelSourceInfoX = channelX + 10; switch (config.GetValue("logoPosition")) { @@ -247,7 +247,7 @@ void cGeometryManager::SetGeometry(void) { if (config.GetValue("displayChannelVolume") == vbSimple) { channelVolumeLeft = channelX + channelContentX + channelWidth * 0.2 + 10; channelVolumeTop = channelTop + channelHeaderHeight + channelProgressBarHeight + channelEpgInfoHeight; - channelVolumeWidth = channelX + channelWidth - channelStatusIconsWidth - 3 * channelStatusIconBorder - channelVolumeLeft - 25; + channelVolumeWidth = channelStatusIconX - channelVolumeLeft - 5 * channelStatusIconBorder; if (config.GetValue("logoPosition") == lpRight) channelVolumeWidth -= channelLogoWidthTotal; channelVolumeHeight = channelFooterHeight; |