[gnome-calendar] edit-dialog: allign circle with subtitle
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar] edit-dialog: allign circle with subtitle
- Date: Wed, 1 Feb 2017 17:19:52 +0000 (UTC)
commit 4ab02f487c12ea6cc0d2d20f353247458676d3b1
Author: Andrei Ceapa <andrei781995 gmail com>
Date: Sat Jan 28 16:54:52 2017 +0200
edit-dialog: allign circle with subtitle
Move the circle in the headerbar on the same line with the
subtitle, so that it will not move when the length of the event
title increases.
https://bugzilla.gnome.org/show_bug.cgi?id=772098
data/ui/edit-dialog.ui | 32 +++++++++++++++++++++-----------
1 files changed, 21 insertions(+), 11 deletions(-)
---
diff --git a/data/ui/edit-dialog.ui b/data/ui/edit-dialog.ui
index 289f307..5bdf828 100644
--- a/data/ui/edit-dialog.ui
+++ b/data/ui/edit-dialog.ui
@@ -46,15 +46,6 @@
<property name="can_focus">False</property>
<property name="spacing">6</property>
<child>
- <object class="GtkImage" id="source_image">
- <property name="visible">True</property>
- <property name="can_focus">False</property>
- <style>
- <class name="calendar-color-image"/>
- </style>
- </object>
- </child>
- <child>
<object class="GtkBox" id="title_label_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
@@ -73,9 +64,29 @@
</object>
</child>
<child>
- <object class="GtkLabel" id="subtitle_label">
+ <object class="GtkBox" id="subtitle_box">
<property name="visible">True</property>
<property name="can_focus">False</property>
+ <property name="orientation">horizontal</property>
+ <property name="halign">center</property>
+ <child>
+ <object class="GtkImage" id="source_image">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <style>
+ <class name="calendar-color-image"/>
+ </style>
+ </object>
+ </child>
+ <child>
+ <object class="GtkLabel" id="subtitle_label">
+ <property name="visible">True</property>
+ <property name="can_focus">False</property>
+ <style>
+ <class name="subtitle"/>
+ </style>
+ </object>
+ </child>
<style>
<class name="subtitle"/>
</style>
@@ -560,7 +571,6 @@
<object class="GtkSizeGroup">
<property name="mode">vertical</property>
<widgets>
- <widget name="source_image" />
<widget name="pan_down_image" />
<widget name="title_label_box" />
</widgets>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]