[polari/wip/fmuellner/paste-confirmation: 16/16] ui: Slide out actions while uploading
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari/wip/fmuellner/paste-confirmation: 16/16] ui: Slide out actions while uploading
- Date: Fri, 12 Feb 2016 13:00:54 +0000 (UTC)
commit 42016ce078c759147da8b7ff7f017f2789b8965a
Author: Florian Müllner <fmuellner gnome org>
Date: Fri Feb 12 13:55:37 2016 +0100
ui: Slide out actions while uploading
data/resources/entry-area.ui | 53 +++++++++++++++++++++++++++---------------
1 files changed, 34 insertions(+), 19 deletions(-)
---
diff --git a/data/resources/entry-area.ui b/data/resources/entry-area.ui
index 149f4bf..6fb045a 100644
--- a/data/resources/entry-area.ui
+++ b/data/resources/entry-area.ui
@@ -100,7 +100,7 @@
<property name="visible">True</property>
<property name="spacing">6</property>
<property name="margin">6</property>
- <property name="margin-end">14</property>
+ <property name="margin-end">0</property>
<child>
<object class="GtkSpinner">
<property name="visible">True</property>
@@ -128,26 +128,41 @@
</object>
</child>
<child>
- <object class="GtkButton" id="cancelButton">
- <property name="label" translatable="yes">_Cancel</property>
+ <object class="GtkRevealer">
<property name="visible">True</property>
- <property name="receives-default">True</property>
- <property name="use-underline">True</property>
- <property name="sensitive" bind-source="confirmLabel"
+ <property name="transition-type">slide-left</property>
+ <property name="reveal-child" bind-source="confirmLabel"
bind-property="visible" bind-flags="sync-create" />
- </object>
- </child>
- <child>
- <object class="GtkButton" id="pasteButton">
- <property name="label" translatable="yes">_Paste</property>
- <property name="visible">True</property>
- <property name="receives-default">True</property>
- <property name="use-underline">True</property>
- <property name="sensitive" bind-source="confirmLabel"
- bind-property="visible" bind-flags="sync-create" />
- <style>
- <class name="suggested-action"/>
- </style>
+ <child>
+ <object class="GtkBox">
+ <property name="visible">True</property>
+ <property name="spacing">6</property>
+ <property name="margin-end">14</property>
+ <child>
+ <object class="GtkButton" id="cancelButton">
+ <property name="label" translatable="yes">_Cancel</property>
+ <property name="visible">True</property>
+ <property name="receives-default">True</property>
+ <property name="use-underline">True</property>
+ <property name="sensitive" bind-source="confirmLabel"
+ bind-property="visible" bind-flags="sync-create" />
+ </object>
+ </child>
+ <child>
+ <object class="GtkButton" id="pasteButton">
+ <property name="label" translatable="yes">_Paste</property>
+ <property name="visible">True</property>
+ <property name="receives-default">True</property>
+ <property name="use-underline">True</property>
+ <property name="sensitive" bind-source="confirmLabel"
+ bind-property="visible" bind-flags="sync-create" />
+ <style>
+ <class name="suggested-action"/>
+ </style>
+ </object>
+ </child>
+ </object>
+ </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]