diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:18:46 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 15:18:46 +0000 |
commit | 56294d30a82ec2da6f9ce399740c1ef65a9ddef4 (patch) | |
tree | bbe3823e41495d026ba8edc6eeaef166edb7e2a2 /src/gs-summary-tile.ui | |
parent | Initial commit. (diff) | |
download | gnome-software-upstream.tar.xz gnome-software-upstream.zip |
Adding upstream version 3.38.1.upstream/3.38.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/gs-summary-tile.ui')
-rw-r--r-- | src/gs-summary-tile.ui | 130 |
1 files changed, 130 insertions, 0 deletions
diff --git a/src/gs-summary-tile.ui b/src/gs-summary-tile.ui new file mode 100644 index 0000000..a63bbd6 --- /dev/null +++ b/src/gs-summary-tile.ui @@ -0,0 +1,130 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.10 --> + <template class="GsSummaryTile" parent="GsAppTile"> + <property name="visible">True</property> + <property name="hexpand">True</property> + <!-- This is the minimum (sic!) width of a tile when the GtkFlowBox parent container switches to 3 columns --> + <property name="preferred-width">270</property> + <style> + <class name="view"/> + <class name="tile"/> + </style> + <child> + <object class="GtkStack" id="stack"> + <property name="visible">True</property> + <child> + <object class="GtkImage" id="waiting"> + <property name="visible">True</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="pixel-size">16</property> + <property name="icon-name">content-loading-symbolic</property> + <style> + <class name="dim-label"/> + </style> + </object> + <packing> + <property name="name">waiting</property> + </packing> + </child> + <child> + <object class="GtkOverlay" id="overlay"> + <property name="visible">True</property> + <property name="halign">fill</property> + <property name="valign">fill</property> + <child type="overlay"> + <object class="GtkEventBox" id="eventbox"> + <property name="visible">False</property> + <property name="no_show_all">True</property> + <property name="visible_window">True</property> + <property name="halign">end</property> + <property name="valign">start</property> + <child> + <object class="GtkImage" id="installed-icon"> + <property name="visible">True</property> + <property name="halign">center</property> + <property name="valign">center</property> + <property name="pixel-size">16</property> + <property name="margin-top">6</property> + <property name="margin-right">6</property> + <property name="icon-name">software-installed-symbolic</property> + <style> + <class name="installed-icon"/> + </style> + </object> + </child> + </object> + </child> + <child> + <object class="GtkGrid" id="grid"> + <property name="visible">True</property> + <property name="margin-top">17</property> + <property name="margin-bottom">17</property> + <property name="margin-start">17</property> + <property name="margin-end">17</property> + <property name="row-spacing">1</property> + <property name="column-spacing">14</property> + <child> + <object class="GtkImage" id="image"> + <property name="visible">True</property> + <property name="width-request">64</property> + <property name="height-request">64</property> + </object> + <packing> + <property name="left-attach">0</property> + <property name="top-attach">0</property> + <property name="width">1</property> + <property name="height">3</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="name"> + <property name="visible">True</property> + <property name="ellipsize">end</property> + <property name="xalign">0.0</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + <style> + <class name="app-tile-label"/> + </style> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="summary"> + <property name="visible">True</property> + <property name="ellipsize">end</property> + <property name="xalign">0.0</property> + <property name="yalign">0.0</property> + <property name="lines">2</property> + <property name="vexpand">True</property> + <property name="single-line-mode">True</property> + <style> + <class name="app-tile-label"/> + </style> + </object> + <packing> + <property name="left-attach">1</property> + <property name="top-attach">2</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + </child> + </object> + <packing> + <property name="name">content</property> + </packing> + </child> + </object> + </child> + </template> +</interface> |