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:
@@ -346,7 +346,7 @@ printf("InfoWin::Update(0x%08lx)\n", which);
|
|||||||
|
|
||||||
// audio track format information
|
// audio track format information
|
||||||
if ((which & INFO_AUDIO) && fController->AudioTrackCount() > 0) {
|
if ((which & INFO_AUDIO) && fController->AudioTrackCount() > 0) {
|
||||||
fLabelsView->Insert("Audio\n\n\n");
|
fLabelsView->Insert("Audio\n\n\n\n");
|
||||||
BString s;
|
BString s;
|
||||||
media_format format;
|
media_format format;
|
||||||
media_raw_audio_format audioFormat;
|
media_raw_audio_format audioFormat;
|
||||||
@@ -431,7 +431,7 @@ printf("InfoWin::Update(0x%08lx)\n", which);
|
|||||||
fContentsView->Insert("DrawBitmap\n");
|
fContentsView->Insert("DrawBitmap\n");
|
||||||
|
|
||||||
fLabelsView->Insert("\n");
|
fLabelsView->Insert("\n");
|
||||||
fContentsView->Insert("\n\n");
|
fContentsView->Insert("\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
if (which & INFO_TRANSPORT) {
|
if (which & INFO_TRANSPORT) {
|
||||||
|
|||||||
Reference in New Issue
Block a user