mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
mi-info: show tooltip for caps labels with full caps string
This commit is contained in:
parent
5b1eb7420e
commit
287f6f7740
1 changed files with 3 additions and 1 deletions
|
@ -730,10 +730,12 @@ public class MediaInfo.Info : Box
|
|||
AttachOptions fill = AttachOptions.FILL;
|
||||
AttachOptions fill_exp = AttachOptions.EXPAND|AttachOptions.FILL;
|
||||
|
||||
Label label = new Label (caps.to_string ());
|
||||
string str = caps.to_string( );
|
||||
Label label = new Label (str);
|
||||
label.set_ellipsize (Pango.EllipsizeMode.END);
|
||||
label.set_alignment (0.0f, 0.5f);
|
||||
label.set_selectable (true);
|
||||
label.set_tooltip_text (str);
|
||||
table.attach (label, 0, 2, row, row+1, fill_exp, 0, 0, 1);
|
||||
row++;
|
||||
|
||||
|
|
Loading…
Reference in a new issue