Commit 883ccf9e authored by Adrien Plazas's avatar Adrien Plazas

details-page: Make it better fit in smaller narrower windows

This makes the header work in both desktops and mobiles.
parent cf70376a
......@@ -86,46 +86,33 @@
<property name="halign">fill</property>
<property name="valign">start</property>
<property name="margin_start">24</property>
<property name="margin_end">24</property>
<child>
<object class="GtkLabel" id="application_details_title">
<object class="GtkBox" id="box_details_header3">
<property name="visible">True</property>
<property name="halign">fill</property>
<property name="valign">start</property>
<property name="hexpand">True</property>
<property name="margin_bottom">4</property>
<property name="xalign">0</property>
<property name="selectable">True</property>
<property name="wrap">True</property>
<property name="max_width_chars">20</property>
<style>
<class name="application-details-title"/>
</style>
</object>
</child>
<property name="spacing">24</property>
<child>
<object class="GtkLabel" id="application_details_summary">
<object class="GtkLabel" id="application_details_title">
<property name="visible">True</property>
<property name="halign">fill</property>
<property name="valign">start</property>
<property name="hexpand">True</property>
<property name="margin_bottom">16</property>
<property name="margin_bottom">4</property>
<property name="xalign">0</property>
<property name="selectable">True</property>
<property name="wrap">True</property>
<property name="max-width-chars">60</property>
<property name="max_width_chars">20</property>
<style>
<class name="application-details-summary"/>
<class name="application-details-title"/>
</style>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox" id="star_box">
<property name="visible">True</property>
<property name="valign">start</property>
<property name="valign">center</property>
<child>
<object class="GtkEventBox" id="star_eventbox">
<property name="visible">True</property>
......@@ -152,6 +139,26 @@
</object>
</child>
</object>
</child>
<child>
<object class="GtkLabel" id="application_details_summary">
<property name="visible">True</property>
<property name="halign">fill</property>
<property name="valign">start</property>
<property name="hexpand">True</property>
<property name="margin_bottom">16</property>
<property name="xalign">0</property>
<property name="selectable">True</property>
<property name="wrap">True</property>
<property name="max-width-chars">60</property>
<style>
<class name="application-details-summary"/>
</style>
</object>
</child>
</object>
</child>
</object>
</child>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment