From 08d643a8b4d403a3e5e05d4c61c654332332619c Mon Sep 17 00:00:00 2001 From: vanhofen Date: Sun, 17 Mar 2013 20:19:13 +0100 Subject: [PATCH] fix width of pip-boxes in streaminfo and imageinfo Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/b0469b196e188602a8ed216aa890127c99f7eaa5 Author: vanhofen Date: 2013-03-17 (Sun, 17 Mar 2013) Origin message was: ------------------ - fix width of pip-boxes in streaminfo and imageinfo ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/imageinfo.cpp | 2 +- src/gui/streaminfo2.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/imageinfo.cpp b/src/gui/imageinfo.cpp index 25be21191..3a68d900f 100644 --- a/src/gui/imageinfo.cpp +++ b/src/gui/imageinfo.cpp @@ -287,6 +287,6 @@ void CImageInfo::paint() paintLine(xpos+offset, font_small, "Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA."); if (pip == NULL) - pip = new CComponentsPIP(width-width/3-10, y+10, 30); + pip = new CComponentsPIP(width-width/3-10, y+10, 33); pip->paint(); } diff --git a/src/gui/streaminfo2.cpp b/src/gui/streaminfo2.cpp index 8bde0051f..242c479d5 100644 --- a/src/gui/streaminfo2.cpp +++ b/src/gui/streaminfo2.cpp @@ -419,7 +419,7 @@ void CStreamInfo2::paint (int /*mode*/) ypos += hheight; if (pip == NULL) - pip = new CComponentsPIP(width-width/3-10, y+10, 30); + pip = new CComponentsPIP(width-width/3-10, y+10, 33); pip->paint(); paint_techinfo (xpos, ypos);