[libdazzle] prefs: tweak layout for preferences using stackswitcher
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libdazzle] prefs: tweak layout for preferences using stackswitcher
- Date: Thu, 21 Jun 2018 21:55:32 +0000 (UTC)
commit 05a78f2cf3e6841bcee125e9e3788a573e4c53aa
Author: Christian Hergert <chergert redhat com>
Date: Thu Jun 21 14:54:39 2018 -0700
prefs: tweak layout for preferences using stackswitcher
data/themes/shared/shared-preferences.css | 2 +-
src/prefs/dzl-preferences-view.ui | 4 ++++
2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/data/themes/shared/shared-preferences.css b/data/themes/shared/shared-preferences.css
index 12ecd08..85dff67 100644
--- a/data/themes/shared/shared-preferences.css
+++ b/data/themes/shared/shared-preferences.css
@@ -42,5 +42,5 @@ dzlpreferencesview dzlpreferencesgroup list entry {
}
dzlpreferencesview stackswitcher {
- margin: 12px;
+ margin: 12px 12px 0px 12px;
}
diff --git a/src/prefs/dzl-preferences-view.ui b/src/prefs/dzl-preferences-view.ui
index c7aac68..6036bec 100644
--- a/src/prefs/dzl-preferences-view.ui
+++ b/src/prefs/dzl-preferences-view.ui
@@ -31,15 +31,19 @@
</child>
<child>
<object class="GtkScrolledWindow" id="scroller">
+ <property name="expand">true</property>
<property name="hscrollbar-policy">never</property>
+ <property name="propagate-natural-width">true</property>
<property name="visible">true</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
+ <property name="expand">true</property>
<property name="visible">true</property>
<child>
<object class="GtkStackSwitcher" id="top_stack_switcher">
<property name="stack">page_stack</property>
+ <property name="halign">center</property>
<property name="visible">false</property>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]