mi-info: more ui layout planning

This commit is contained in:
Stefan Sauer 2011-01-04 14:56:40 +02:00
parent ba86fd992a
commit 5e2ad304eb

View file

@ -116,7 +116,11 @@ public class MediaInfo.Info : VPaned
table = new Table (8, 3, false); table = new Table (8, 3, false);
sw.add_with_viewport (table); sw.add_with_viewport (table);
/* TODO: also use tabs for containers
* - this is needed for e.g. mpeg-ts or mp3 inside ape
* - we should move duration and mime-type out of the tabs
*/
label = new Label (null); label = new Label (null);
label.set_markup("<b>Container</b>"); label.set_markup("<b>Container</b>");
label.set_alignment (0.0f, 0.5f); label.set_alignment (0.0f, 0.5f);
@ -153,6 +157,10 @@ public class MediaInfo.Info : VPaned
table.attach (duration, 1, 2, row, row+1, fill_exp, 0, 3, 1); table.attach (duration, 1, 2, row, row+1, fill_exp, 0, 3, 1);
row++; row++;
/* TODO: if screen-height<600 use a *single* notebook for both audio and
* video streams
* - this needs a bit of cleverness when switching streams
*/
label = new Label (null); label = new Label (null);
label.set_markup("<b>Video Streams</b>"); label.set_markup("<b>Video Streams</b>");
label.set_alignment (0.0f, 0.5f); label.set_alignment (0.0f, 0.5f);