From 367119fbd656039e30d4bccfffd000bfb31759b3 Mon Sep 17 00:00:00 2001 From: kamel5 Date: Mon, 6 Jun 2022 10:02:23 +0200 Subject: 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. --- geometrymanager.c | 4 ++-- 1 file 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; -- cgit v1.2.3