Alter playlist width with box container width

This commit is contained in:
Rafał Dzięgiel
2021-01-22 13:15:27 +01:00
parent 2b77810274
commit d4ebb1456f
2 changed files with 7 additions and 3 deletions

View File

@@ -168,8 +168,11 @@ separator {
.osd list row {
-gtk-icon-shadow: none;
}
.osd .speedscale {
min-width: 330px;
.elapsedpopoverbox {
min-width: 260px;
}
.osd .elapsedpopoverbox {
min-width: 360px;
}
.osd .speedscale trough highlight {
min-height: 6px;

View File

@@ -215,9 +215,10 @@ class ClapperElapsedPopoverButton extends LabelPopoverButton
{
super._init(text);
this.popoverBox.add_css_class('elapsedpopoverbox');
this.scrolledWindow = new Gtk.ScrolledWindow({
max_content_height: 150,
min_content_width: 250,
propagate_natural_height: true,
});
this.popoverBox.append(this.scrolledWindow);