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