diff options
Diffstat (limited to 'src/gs-app-reviews-dialog.ui')
-rw-r--r-- | src/gs-app-reviews-dialog.ui | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/src/gs-app-reviews-dialog.ui b/src/gs-app-reviews-dialog.ui new file mode 100644 index 0000000..2ceee89 --- /dev/null +++ b/src/gs-app-reviews-dialog.ui @@ -0,0 +1,65 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <requires lib="gtk+" version="3.10"/> + <requires lib="handy" version="1.0"/> + <template class="GsAppReviewsDialog" parent="GtkDialog"> + <property name="title" translatable="yes">Reviews</property> + <property name="default_width">550</property> + <property name="default_height">600</property> + <property name="width_request">360</property> + <property name="height_request">400</property> + <property name="use_header_bar">1</property> + <child internal-child="headerbar"> + <object class="AdwHeaderBar"/> + </child> + <child internal-child="content_area"> + <object class="GtkBox"> + <property name="orientation">vertical</property> + <child> + <object class="GtkStack" id="stack"> + <child> + <object class="GtkStackPage"> + <property name="name">empty</property> + <property name="child"> + <object class="AdwStatusPage"> + <property name="description" translatable="yes">No reviews were found for this application.</property> + <property name="icon-name">review-symbolic</property> + <property name="title" translatable="yes">No Reviews</property> + </object> + </property> + </object> + </child> + <child> + <object class="GtkStackPage"> + <property name="name">reviews</property> + <property name="child"> + <object class="GtkScrolledWindow"> + <child> + <object class="AdwClamp"> + <property name="vexpand">True</property> + <property name="hexpand">False</property> + <property name="margin-start">12</property> + <property name="margin-end">12</property> + <property name="margin-bottom">18</property> + <property name="margin-top">18</property> + <child> + <object class="GtkListBox" id="listbox"> + <property name="selection-mode">none</property> + <property name="valign">start</property> + <style> + <class name="boxed-list"/> + </style> + </object> + </child> + </object> + </child> + </object> + </property> + </object> + </child> + </object> + </child> + </object> + </child> + </template> +</interface> |