[gnome-builder] libide/tweaks: add example to margins group



commit 941f71ff5719478d271e0c1867e316630e6f5ec8
Author: Christian Hergert <chergert redhat com>
Date:   Sat Aug 6 22:05:55 2022 -0700

    libide/tweaks: add example to margins group

 src/libide/tweaks/demo/041-code-language.ui | 7 +++++++
 1 file changed, 7 insertions(+)
---
diff --git a/src/libide/tweaks/demo/041-code-language.ui b/src/libide/tweaks/demo/041-code-language.ui
index d334ab2cb..8d2084ffa 100644
--- a/src/libide/tweaks/demo/041-code-language.ui
+++ b/src/libide/tweaks/demo/041-code-language.ui
@@ -45,6 +45,13 @@
                     <child>
                       <object class="IdeTweaksGroup" id="language_page_margins_group">
                         <property name="title" translatable="yes">Margins</property>
+                        <child>
+                          <object class="IdeTweaksSwitch" id="language_page_margins_group_right_margin">
+                            <property name="title" translatable="yes">Show Right Margin</property>
+                            <property name="subtitle" translatable="yes">Display a margin in the editor to 
indicate maximum desired width</property>
+                            <property name="action-name" 
translatable="yes">settings.org.gnome.builder.editor.language.show-right-margin</property>
+                          </object>
+                        </child>
                       </object>
                     </child>
                     <child>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]