diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:57:27 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:57:27 +0000 |
commit | 6f0f7d1b40a8fa8d46a2d6f4317600001cdbbb18 (patch) | |
tree | d423850ae901365e582137bdf2b5cbdffd7ca266 /src/gs-lozenge.ui | |
parent | Initial commit. (diff) | |
download | gnome-software-52f52dbe2b7d1acede159f0ad22b99e1764d7513.tar.xz gnome-software-52f52dbe2b7d1acede159f0ad22b99e1764d7513.zip |
Adding upstream version 43.5.upstream/43.5upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | src/gs-lozenge.ui | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/gs-lozenge.ui b/src/gs-lozenge.ui new file mode 100644 index 0000000..545d803 --- /dev/null +++ b/src/gs-lozenge.ui @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <requires lib="gtk+" version="3.10"/> + <template class="GsLozenge" parent="GtkBox"> + <property name="halign">center</property> + <property name="hexpand">False</property> + <property name="valign">center</property> + <style> + <class name="context-tile-lozenge"/> + </style> + <child> + <object class="GtkImage" id="image"> + <property name="halign">center</property> + <property name="hexpand">True</property> + <!-- this is a placeholder: the icon is actually set in code --> + <property name="icon-name">safety-symbolic</property> + <property name="pixel-size">16</property> + <property name="visible">False</property> + </object> + </child> + <child> + <object class="GtkLabel" id="label"> + <property name="halign">center</property> + <property name="hexpand">True</property> + <!-- this is a placeholder: the text is actually set in code --> + <property name="label">20 MB</property> + <property name="visible">False</property> + <property name="xalign">0.5</property> + <property name="visible">False</property> + </object> + </child> + </template> +</interface> |