widget-factory: Expand the video to cover the whole frame
authorBenjamin Otte <otte@redhat.com>
Fri, 30 Jul 2021 18:37:34 +0000 (20:37 +0200)
committerBenjamin Otte <otte@redhat.com>
Fri, 30 Jul 2021 18:37:34 +0000 (20:37 +0200)
1. This looks way cooler.

2. Since the frame is rounded, it adds a very visible test for our
   clipping of rounded rectangles.

demos/widget-factory/widget-factory.ui

index 94126edb3629545dc7023f1a189d4410c4521d5a..a5883ec31df03da5b9889101191c0c53c26c0d1d 100644 (file)
@@ -1061,12 +1061,6 @@ Suspendisse feugiat quam quis dolor accumsan cursus.</property>
                                 </child>
                                 <child>
                                   <object class="GtkVideo">
-                                    <property name="halign">center</property>
-                                    <property name="valign">center</property>
-                                    <property name="margin-start">6</property>
-                                    <property name="margin-end">6</property>
-                                    <property name="margin-top">6</property>
-                                    <property name="margin-bottom">6</property>
                                     <property name="autoplay">1</property>
                                     <property name="loop">1</property>
                                     <property name="file">resource:///org/gtk/WidgetFactory4/gtk-logo.webm</property>