diff --git a/css/styles.css b/css/styles.css index a30b9362..b31945e5 100644 --- a/css/styles.css +++ b/css/styles.css @@ -34,6 +34,11 @@ radio { border-radius: 0px; } +.videowidget { + min-width: 336px; + min-height: 189px; +} + .tvmode popover box { text-shadow: none; font-size: 21px; diff --git a/src/playerBase.js b/src/playerBase.js index 5939101e..6dc643ac 100644 --- a/src/playerBase.js +++ b/src/playerBase.js @@ -29,8 +29,7 @@ class ClapperPlayerBase extends GstClapper.Clapper }); this.widget = gtk4plugin.video_sink.widget; - this.widget.vexpand = true; - this.widget.hexpand = true; + this.widget.add_css_class('videowidget'); this.state = GstClapper.ClapperState.STOPPED; this.visualization_enabled = false;