use centerbox for seekbar
This commit is contained in:
parent
7fedaae778
commit
ff2b0ddad5
1 changed files with 4 additions and 4 deletions
|
@ -120,10 +120,8 @@ paintable: bind template.playing_cover_art;
|
|||
halign: center;
|
||||
hexpand: true;
|
||||
|
||||
Box {
|
||||
halign: center;
|
||||
orientation: horizontal;
|
||||
|
||||
CenterBox {
|
||||
[start]
|
||||
Label play_position_label {
|
||||
styles [
|
||||
"caption",
|
||||
|
@ -133,6 +131,7 @@ paintable: bind template.playing_cover_art;
|
|||
label: bind $format_timestamp (template.position) as <string>;
|
||||
}
|
||||
|
||||
[center]
|
||||
Scale play_position {
|
||||
name: "seek-scale";
|
||||
orientation: horizontal;
|
||||
|
@ -147,6 +146,7 @@ paintable: bind template.playing_cover_art;
|
|||
change-value => $on_play_position_seek ();
|
||||
}
|
||||
|
||||
[end]
|
||||
Label play_duration {
|
||||
styles [
|
||||
"caption",
|
||||
|
|
Loading…
Reference in a new issue