[xdg-desktop-portal-gnome/gbsneto/post-restore-screencast-cleanups: 6/17] screencastwidget: Cleanup spacings and margins
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [xdg-desktop-portal-gnome/gbsneto/post-restore-screencast-cleanups: 6/17] screencastwidget: Cleanup spacings and margins
- Date: Mon, 22 Nov 2021 14:31:59 +0000 (UTC)
commit 5c5a93e60d9af5e22fe38164f2afa4ebf78862b2
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sat Nov 13 22:12:58 2021 -0300
screencastwidget: Cleanup spacings and margins
Cleanup spacing and margins a little bit. It'll simplify
next commits.
src/remotedesktopdialog.ui | 1 -
src/screencastdialog.ui | 1 -
src/screencastwidget.ui | 10 ++++------
3 files changed, 4 insertions(+), 8 deletions(-)
---
diff --git a/src/remotedesktopdialog.ui b/src/remotedesktopdialog.ui
index a39abae..7444732 100644
--- a/src/remotedesktopdialog.ui
+++ b/src/remotedesktopdialog.ui
@@ -42,7 +42,6 @@
<object class="ScreenCastWidget" id="screen_cast_widget">
<property name="visible">False</property>
<property name="halign">fill</property>
- <property name="spacing">6</property>
</object>
</child>
<child>
diff --git a/src/screencastdialog.ui b/src/screencastdialog.ui
index 146edc4..4df7ab7 100644
--- a/src/screencastdialog.ui
+++ b/src/screencastdialog.ui
@@ -43,7 +43,6 @@
<property name="visible">True</property>
<property name="hexpand">True</property>
<property name="halign">fill</property>
- <property name="spacing">6</property>
</object>
</child>
</object>
diff --git a/src/screencastwidget.ui b/src/screencastwidget.ui
index a884a2f..5a81f2a 100644
--- a/src/screencastwidget.ui
+++ b/src/screencastwidget.ui
@@ -3,6 +3,7 @@
<requires lib="gtk" version="4.0"/>
<template class="ScreenCastWidget" parent="GtkBox">
<property name="orientation">vertical</property>
+ <property name="spacing">12</property>
<child>
<object class="GtkStack" id="source_type">
<property name="transition-type">crossfade</property>
@@ -16,11 +17,10 @@
<object class="GtkBox" id="window_selection">
<property name="orientation">vertical</property>
<property name="visible">0</property>
- <property name="margin_top">12</property>
+ <property name="spacing">12</property>
<child>
<object class="GtkLabel" id="window_heading">
<property name="xalign">0.0</property>
- <property name="margin_bottom">12</property>
<attributes>
<attribute name="weight" value="bold"></attribute>
</attributes>
@@ -56,7 +56,7 @@
<object class="GtkBox" id="monitor_selection">
<property name="visible">0</property>
<property name="orientation">vertical</property>
- <property name="margin_top">12</property>
+ <property name="spacing">12</property>
<child>
<object class="GtkBox">
<property name="hexpand">1</property>
@@ -64,7 +64,6 @@
<child>
<object class="GtkLabel" id="monitor_heading">
<property name="xalign">0.0</property>
- <property name="margin_bottom">12</property>
<attributes>
<attribute name="weight" value="bold"></attribute>
</attributes>
@@ -96,7 +95,7 @@
<object class="GtkBox" id="virtual_selection">
<property name="orientation">vertical</property>
<property name="visible">0</property>
- <property name="margin_top">12</property>
+ <property name="spacing">12</property>
<!-- Virtual monitor selection label -->
<child>
@@ -107,7 +106,6 @@
<object class="GtkLabel" id="virtual_heading">
<property name="label"/>
<property name="xalign">0.0</property>
- <property name="margin_bottom">12</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]