[gthumb] template editor: added an "Example:" label before the example
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] template editor: added an "Example:" label before the example
- Date: Sat, 19 Jun 2021 18:10:43 +0000 (UTC)
commit a5b96e977597fbc0588ed2365ee8c7cd481bd2fc
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Jun 2 12:46:00 2021 +0200
template editor: added an "Example:" label before the example
data/ui/template-editor-dialog.ui | 51 ++++++++++++++++++++++++++++++---------
1 file changed, 40 insertions(+), 11 deletions(-)
---
diff --git a/data/ui/template-editor-dialog.ui b/data/ui/template-editor-dialog.ui
index 6a9d9661..dc25085f 100644
--- a/data/ui/template-editor-dialog.ui
+++ b/data/ui/template-editor-dialog.ui
@@ -7,20 +7,49 @@
<property name="can-focus">False</property>
<property name="border-width">15</property>
<property name="orientation">vertical</property>
- <property name="spacing">6</property>
+ <property name="spacing">12</property>
<child>
- <object class="GtkLabel" id="preview_label">
+ <object class="GtkBox">
<property name="visible">True</property>
<property name="can-focus">False</property>
- <property name="wrap">True</property>
- <property name="selectable">True</property>
- <property name="width-chars">0</property>
- <property name="max-width-chars">30</property>
- <property name="xalign">0</property>
- <property name="yalign">0</property>
- <style>
- <class name="terminal"/>
- </style>
+ <property name="orientation">vertical</property>
+ <property name="spacing">6</property>
+ <child>
+ <object class="GtkLabel" id="label1">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="label" translatable="yes">Example:</property>
+ <property name="xalign">0</property>
+ <attributes>
+ <attribute name="weight" value="bold"/>
+ </attributes>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">0</property>
+ </packing>
+ </child>
+ <child>
+ <object class="GtkLabel" id="preview_label">
+ <property name="visible">True</property>
+ <property name="can-focus">False</property>
+ <property name="wrap">True</property>
+ <property name="selectable">True</property>
+ <property name="width-chars">0</property>
+ <property name="max-width-chars">30</property>
+ <property name="xalign">0</property>
+ <property name="yalign">0</property>
+ <style>
+ <class name="terminal"/>
+ </style>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">1</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]