mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
Limit minimal video widget size to 336x189px
This commit is contained in:
@@ -34,6 +34,11 @@ radio {
|
|||||||
border-radius: 0px;
|
border-radius: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.videowidget {
|
||||||
|
min-width: 336px;
|
||||||
|
min-height: 189px;
|
||||||
|
}
|
||||||
|
|
||||||
.tvmode popover box {
|
.tvmode popover box {
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
font-size: 21px;
|
font-size: 21px;
|
||||||
|
@@ -29,8 +29,7 @@ class ClapperPlayerBase extends GstClapper.Clapper
|
|||||||
});
|
});
|
||||||
|
|
||||||
this.widget = gtk4plugin.video_sink.widget;
|
this.widget = gtk4plugin.video_sink.widget;
|
||||||
this.widget.vexpand = true;
|
this.widget.add_css_class('videowidget');
|
||||||
this.widget.hexpand = true;
|
|
||||||
|
|
||||||
this.state = GstClapper.ClapperState.STOPPED;
|
this.state = GstClapper.ClapperState.STOPPED;
|
||||||
this.visualization_enabled = false;
|
this.visualization_enabled = false;
|
||||||
|
Reference in New Issue
Block a user