[libadwaita/wip/exalm/borderless: 14/18] view-switcher-button: Set spacing in css and match buttons
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libadwaita/wip/exalm/borderless: 14/18] view-switcher-button: Set spacing in css and match buttons
- Date: Thu, 9 Sep 2021 07:36:27 +0000 (UTC)
commit 9d493499c64427135568c7fc5a46ecdb5718d143
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Sun Sep 5 23:43:30 2021 +0500
view-switcher-button: Set spacing in css and match buttons
src/adw-view-switcher-button.ui | 2 --
src/stylesheet/widgets/_view-switcher.scss | 2 ++
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/adw-view-switcher-button.ui b/src/adw-view-switcher-button.ui
index 1d4fc018..acf13f44 100644
--- a/src/adw-view-switcher-button.ui
+++ b/src/adw-view-switcher-button.ui
@@ -15,7 +15,6 @@
<object class="GtkBox" id="horizontal_box">
<property name="halign">center</property>
<property name="orientation">horizontal</property>
- <property name="spacing">8</property>
<property name="valign">center</property>
<style>
<class name="wide"/>
@@ -63,7 +62,6 @@
<object class="GtkBox" id="vertical_box">
<property name="halign">center</property>
<property name="orientation">vertical</property>
- <property name="spacing">4</property>
<property name="valign">center</property>
<style>
<class name="narrow"/>
diff --git a/src/stylesheet/widgets/_view-switcher.scss b/src/stylesheet/widgets/_view-switcher.scss
index 59e5e4d8..614de8b1 100644
--- a/src/stylesheet/widgets/_view-switcher.scss
+++ b/src/stylesheet/widgets/_view-switcher.scss
@@ -16,6 +16,7 @@ viewswitcher {
font-size: 0.75rem;
padding-top: 7px;
padding-bottom: 5px;
+ border-spacing: 4px;
> stack > label {
padding-left: 8px;
@@ -25,6 +26,7 @@ viewswitcher {
&.wide {
padding: 8px 12px;
+ border-spacing: 6px;
}
label.active {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]