Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
G
gnome-software
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
28
Issues
28
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Librem5
gnome-software
Commits
f9e0a3f0
Commit
f9e0a3f0
authored
Sep 04, 2019
by
Adrien Plazas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
librem5: app-row: Make vertical
parent
4f82d727
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
80 additions
and
72 deletions
+80
-72
src/gs-app-row.ui
src/gs-app-row.ui
+80
-72
No files found.
src/gs-app-row.ui
View file @
f9e0a3f0
...
...
@@ -7,16 +7,24 @@
<class
name=
"list-box-app-row"
/>
</style>
<child>
<object
class=
"GtkBox"
id=
"box"
>
<object
class=
"GtkBox"
id=
"
v
box"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"margin_top"
>
16
</property>
<property
name=
"margin_bottom"
>
16
</property>
<property
name=
"margin_start"
>
12
</property>
<property
name=
"margin_end"
>
12
</property>
<property
name=
"spacing"
>
16
</property>
<property
name=
"orientation"
>
vertical
</property>
<child>
<object
class=
"GtkBox"
id=
"box"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"orientation"
>
horizontal
</property>
<property
name=
"spacing"
>
12
</property>
<child>
<object
class=
"GtkImage"
id=
"image"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"pixel_size"
>
64
</property>
<property
name=
"margin_start"
>
24
</property>
<property
name=
"margin_start"
>
12
</property>
<property
name=
"valign"
>
center
</property>
</object>
</child>
...
...
@@ -24,14 +32,12 @@
<object
class=
"GtkBox"
id=
"name_box"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"margin-start"
>
12
</property>
<property
name=
"spacing"
>
6
</property>
<property
name=
"valign"
>
center
</property>
<child>
<object
class=
"GtkLabel"
id=
"name_label"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"wrap"
>
True
</property>
<property
name=
"max_width_chars"
>
20
</property>
<property
name=
"xalign"
>
0.0
</property>
<property
name=
"yalign"
>
0.5
</property>
<property
name=
"ellipsize"
>
end
</property>
...
...
@@ -85,6 +91,76 @@
</child>
</object>
</child>
<child>
<object
class=
"GtkBox"
id=
"vertical_box"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"halign"
>
center
</property>
<property
name=
"valign"
>
center
</property>
<child>
<object
class=
"GtkBox"
id=
"button_box"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"orientation"
>
horizontal
</property>
<property
name=
"halign"
>
end
</property>
<property
name=
"valign"
>
center
</property>
<child>
<object
class=
"GsProgressButton"
id=
"button"
>
<property
name=
"visible"
>
False
</property>
<property
name=
"width_request"
>
100
</property>
<property
name=
"halign"
>
end
</property>
</object>
<packing>
<property
name=
"pack_type"
>
end
</property>
</packing>
</child>
<child>
<object
class=
"GtkSpinner"
id=
"spinner"
>
<property
name=
"visible"
>
False
</property>
<property
name=
"margin_start"
>
12
</property>
<property
name=
"margin_end"
>
12
</property>
<property
name=
"halign"
>
end
</property>
</object>
<packing>
<property
name=
"pack_type"
>
end
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"label"
>
<property
name=
"visible"
>
False
</property>
<property
name=
"margin_start"
>
12
</property>
<property
name=
"margin_end"
>
12
</property>
<property
name=
"halign"
>
end
</property>
</object>
<packing>
<property
name=
"pack_type"
>
end
</property>
</packing>
</child>
</object>
</child>
<child>
<object
class=
"GtkLabel"
id=
"label_app_size"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"halign"
>
center
</property>
<property
name=
"valign"
>
center
</property>
<property
name=
"vexpand"
>
True
</property>
<property
name=
"label"
>
150 MB
</property>
<property
name=
"margin-top"
>
6
</property>
<style>
<class
name=
"app-row-app-size"
/>
<class
name=
"dim-label"
/>
</style>
</object>
<packing>
<property
name=
"pack_type"
>
end
</property>
</packing>
</child>
</object>
<packing>
<property
name=
"pack_type"
>
end
</property>
</packing>
</child>
</object>
</child>
<child>
<object
class=
"GtkBox"
id=
"description_box"
>
<property
name=
"visible"
>
True
</property>
...
...
@@ -98,8 +174,6 @@
<property
name=
"visible"
>
True
</property>
<property
name=
"valign"
>
start
</property>
<property
name=
"vexpand"
>
True
</property>
<property
name=
"margin_start"
>
24
</property>
<property
name=
"margin_end"
>
24
</property>
<property
name=
"wrap"
>
True
</property>
<property
name=
"wrap-mode"
>
word-char
</property>
<property
name=
"ellipsize"
>
end
</property>
...
...
@@ -185,72 +259,6 @@
</child>
</object>
</child>
<child>
<object
class=
"GtkBox"
id=
"vertical_box"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"orientation"
>
vertical
</property>
<property
name=
"halign"
>
center
</property>
<property
name=
"valign"
>
center
</property>
<property
name=
"margin-right"
>
6
</property>
<child>
<object
class=
"GtkBox"
id=
"button_box"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"orientation"
>
horizontal
</property>
<property
name=
"halign"
>
end
</property>
<property
name=
"valign"
>
center
</property>
<child>
<object
class=
"GsProgressButton"
id=
"button"
>
<property
name=
"visible"
>
False
</property>
<property
name=
"width_request"
>
100
</property>
<property
name=
"halign"
>
end
</property>
</object>
<packing>
<property
name=
"pack_type"
>
end
</property>
</packing>
</child>
<child>
<object
class=
"GtkSpinner"
id=
"spinner"
>
<property
name=
"visible"
>
False
</property>
<property
name=
"margin_start"
>
12
</property>
<property
name=
"margin_end"
>
12
</property>
<property
name=
"halign"
>
end
</property>
</object>
<packing>
<property
name=
"pack_type"
>
end
</property>
</packing>
</child>
<child>
<object
class=
"GtkLabel"
id=
"label"
>
<property
name=
"visible"
>
False
</property>
<property
name=
"margin_start"
>
12
</property>
<property
name=
"margin_end"
>
12
</property>
<property
name=
"halign"
>
end
</property>
</object>
<packing>
<property
name=
"pack_type"
>
end
</property>
</packing>
</child>
</object>
</child>
<child>
<object
class=
"GtkLabel"
id=
"label_app_size"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"halign"
>
center
</property>
<property
name=
"valign"
>
center
</property>
<property
name=
"vexpand"
>
True
</property>
<property
name=
"label"
>
150 MB
</property>
<property
name=
"margin-top"
>
6
</property>
<style>
<class
name=
"app-row-app-size"
/>
<class
name=
"dim-label"
/>
</style>
</object>
<packing>
<property
name=
"pack_type"
>
end
</property>
</packing>
</child>
</object>
</child>
</object>
</child>
</template>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment