diff options
author | fiaxh <git@lightrise.org> | 2020-04-22 15:44:12 +0200 |
---|---|---|
committer | fiaxh <git@lightrise.org> | 2020-04-22 15:44:12 +0200 |
commit | 51a23728694a3f1312cc9396fc093ca178457c3c (patch) | |
tree | 321771ae3d807d19387a8656805a648d75347994 /main/data/file_send_overlay.ui | |
parent | 7c4260eed718961874fc0ea665263ea2ce59338b (diff) | |
download | dino-51a23728694a3f1312cc9396fc093ca178457c3c.tar.gz dino-51a23728694a3f1312cc9396fc093ca178457c3c.zip |
Add file upload preview
fixes #756
Diffstat (limited to 'main/data/file_send_overlay.ui')
-rw-r--r-- | main/data/file_send_overlay.ui | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/main/data/file_send_overlay.ui b/main/data/file_send_overlay.ui new file mode 100644 index 00000000..c82cc3f1 --- /dev/null +++ b/main/data/file_send_overlay.ui @@ -0,0 +1,97 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <template class="DinoUiFileSendOverlay"> + <property name="hexpand">False</property> + <property name="vexpand">False</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="visible">True</property> + <style> + <class name="background"/> + <class name="dino-file-overlay"/> + </style> + <child> + <object class="DinoUiSizeRequestBox"> + <property name="size-request-mode">height-for-width</property> + <property name="orientation">vertical</property> + <property name="margin-right">20</property> + <property name="margin-left">20</property> + <property name="visible">True</property> + <child> + <object class="GtkBox"> + <property name="margin-top">10</property> + <property name="margin-bottom">10</property> + <property name="orientation">horizontal</property> + <property name="visible">True</property> + <child> + <object class="GtkLabel"> + <property name="label">Send a file</property> + <property name="hexpand">True</property> + <property name="visible">True</property> + <attributes> + <attribute name="weight" value="PANGO_WEIGHT_BOLD"/> + </attributes> + </object> + <packing> + <property name="pack_type">start</property> + </packing> + </child> + <child> + <object class="GtkButton" id="close_button"> + <property name="can_default">True</property> + <property name="can_focus">True</property> + <property name="visible">True</property> + <style> + <class name="titlebutton"/> + <class name="close"/> + </style> + <child> + <object class="GtkImage"> + <property name="visible">True</property> + <property name="icon-name">window-close-symbolic</property> + <property name="icon-size">1</property> + </object> + </child> + </object> + <packing> + <property name="pack_type">end</property> + </packing> + </child> + </object> + </child> + <child> + <object class="DinoUiSizingBin" id="file_widget_insert"> + <property name="visible">True</property> + </object> + </child> + <child> + <object class="GtkBox"> + <property name="margin-top">15</property> + <property name="margin-bottom">15</property> + <property name="spacing">5</property> + <property name="visible">True</property> + <child> + <object class="GtkLabel" id="info_label"> + <property name="visible">True</property> + </object> + </child> + <child> + <object class="GtkButton" id="send_button"> + <property name="label" translatable="yes">Send</property> + <property name="can_default">True</property> + <property name="can_focus">True</property> + <property name="visible">True</property> + <style> + <class name="suggested-action"/> + </style> + </object> + <packing> + <property name="pack_type">end</property> + </packing> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> |