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
This commit is contained in:
Philippe Houdoin 2009-03-30 20:55:54 +00:00
parent 0feb2904db
commit 71ec08a773

View File

@ -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) {