mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
Limit minimal video widget size to 336x189px
This commit is contained in:
@@ -34,6 +34,11 @@ radio {
|
||||
border-radius: 0px;
|
||||
}
|
||||
|
||||
.videowidget {
|
||||
min-width: 336px;
|
||||
min-height: 189px;
|
||||
}
|
||||
|
||||
.tvmode popover box {
|
||||
text-shadow: none;
|
||||
font-size: 21px;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user