Commit bf5f4b41 authored by Daniel Garcia Moreno's avatar Daniel Garcia Moreno

Merge branch 'hig-spacing' into 'master'

UI Tweaks

See merge request !6
parents 1f05a790 e58c8559
Pipeline #55961 passed with stage
in 52 seconds
<?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.22.1 -->
<!-- Generated with glade 3.22.0 -->
<interface>
<requires lib="gtk+" version="3.20"/>
<object class="GtkAdjustment" id="edit-hour-adj">
......@@ -37,6 +37,8 @@
<object class="GtkEntry" id="edit-activity">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">Activity Description</property>
<property name="margin_bottom">18</property>
<property name="placeholder_text" translatable="yes">Activity</property>
</object>
<packing>
......@@ -62,6 +64,7 @@
<object class="GtkCalendar" id="edit-calendar">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">Date of the activity</property>
<property name="year">2019</property>
<property name="day">22</property>
</object>
......@@ -75,12 +78,14 @@
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_bottom">18</property>
<property name="spacing">6</property>
<property name="homogeneous">True</property>
<child>
<object class="GtkSpinButton" id="edit-hour">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">Hour when the activity was started</property>
<property name="adjustment">edit-hour-adj</property>
</object>
<packing>
......@@ -93,6 +98,7 @@
<object class="GtkSpinButton" id="edit-minute">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">Minute when the activity was started</property>
<property name="adjustment">edit-minute-adj</property>
</object>
<packing>
......@@ -125,12 +131,14 @@
<object class="GtkBox">
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="margin_bottom">18</property>
<property name="spacing">6</property>
<property name="homogeneous">True</property>
<child>
<object class="GtkSpinButton" id="edit-working-hour">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">Hours spent on the activity</property>
<property name="text" translatable="yes">7</property>
<property name="adjustment">hour</property>
<property name="value">7</property>
......@@ -145,6 +153,7 @@
<object class="GtkSpinButton" id="edit-working-minute">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="tooltip_text" translatable="yes">Minutes spent on the activity</property>
<property name="text" translatable="yes">0</property>
<property name="adjustment">minute</property>
</object>
......@@ -172,9 +181,6 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="shadow_type">in</property>
<style>
<class name="comments-frame"/>
</style>
<child>
<object class="GtkTextView" id="comments">
<property name="visible">True</property>
......@@ -190,6 +196,9 @@
</style>
</object>
</child>
<style>
<class name="comments-frame"/>
</style>
</object>
</child>
<child type="label">
......
......@@ -46,6 +46,7 @@ class EditDialog(Gtk.Dialog):
header.pack_start(close)
save = Gtk.Button(label=_("Save"))
save.connect("clicked", lambda x: self.response(1))
save.get_style_context().add_class('suggested-action')
header.pack_end(save)
header.show_all()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment