mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-26 18:20:44 +00:00
mi-info: more ui layout planning
This commit is contained in:
parent
ba86fd992a
commit
5e2ad304eb
1 changed files with 9 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue