From 71ec08a773c3cf44edff3ba9aa9750e72b8cccfb Mon Sep 17 00:00:00 2001 From: Philippe Houdoin Date: Mon, 30 Mar 2009 20:55:54 +0000 Subject: [PATCH] Quick & dirty fix to align labels and contents. Quick because a better option is use the layout feature. Dirty because it's assert BMediaTrack::GetCodecInfo() return a two-lines pretty name. BTW, why prefixing "Haiku Media Kit:\n" the codec name? git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29806 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/mediaplayer/InfoWin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/mediaplayer/InfoWin.cpp b/src/apps/mediaplayer/InfoWin.cpp index 3efa2d6472..223d76ae9f 100644 --- a/src/apps/mediaplayer/InfoWin.cpp +++ b/src/apps/mediaplayer/InfoWin.cpp @@ -346,7 +346,7 @@ printf("InfoWin::Update(0x%08lx)\n", which); // audio track format information if ((which & INFO_AUDIO) && fController->AudioTrackCount() > 0) { - fLabelsView->Insert("Audio\n\n\n"); + fLabelsView->Insert("Audio\n\n\n\n"); BString s; media_format format; media_raw_audio_format audioFormat; @@ -431,7 +431,7 @@ printf("InfoWin::Update(0x%08lx)\n", which); fContentsView->Insert("DrawBitmap\n"); fLabelsView->Insert("\n"); - fContentsView->Insert("\n\n"); + fContentsView->Insert("\n"); } if (which & INFO_TRANSPORT) {