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
647e9749
Commit
647e9749
authored
Sep 09, 2019
by
Adrien Plazas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
librem5: upgrade-banner: Make it fit narrow screens
This makes it work on mobile but not on desktops.
parent
7df6271a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
2 deletions
+19
-2
src/gs-upgrade-banner.ui
src/gs-upgrade-banner.ui
+19
-2
No files found.
src/gs-upgrade-banner.ui
View file @
647e9749
...
...
@@ -17,8 +17,13 @@
<property
name=
"visible"
>
True
</property>
<property
name=
"margin-top"
>
66
</property>
<property
name=
"margin_bottom"
>
26
</property>
<property
name=
"margin_start"
>
8
</property>
<property
name=
"margin_end"
>
8
</property>
<!-- Just a placeholder; actual label text is set in code -->
<property
name=
"label"
>
GNOME 3.20 Now Available
</property>
<property
name=
"wrap"
>
True
</property>
<property
name=
"wrap_mode"
>
word-char
</property>
<property
name=
"justify"
>
center
</property>
<attributes>
<attribute
name=
"scale"
value=
"1.8"
/>
</attributes>
...
...
@@ -27,7 +32,12 @@
<child>
<object
class=
"GtkLabel"
id=
"label_upgrades_summary"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"margin_start"
>
8
</property>
<property
name=
"margin_end"
>
8
</property>
<property
name=
"label"
translatable=
"yes"
>
A major upgrade, with new features and added polish.
</property>
<property
name=
"wrap"
>
True
</property>
<property
name=
"wrap_mode"
>
word-char
</property>
<property
name=
"justify"
>
center
</property>
<attributes>
<attribute
name=
"scale"
value=
"1.2"
/>
</attributes>
...
...
@@ -36,7 +46,7 @@
<child>
<object
class=
"GtkBox"
id=
"box_upgrades_buttons"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"orientation"
>
horizont
al
</property>
<property
name=
"orientation"
>
vertic
al
</property>
<property
name=
"halign"
>
fill
</property>
<property
name=
"valign"
>
end
</property>
<property
name=
"spacing"
>
12
</property>
...
...
@@ -65,10 +75,15 @@
</object>
</child>
<child>
<object
class=
"HdyClamp"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"tightening_threshold"
>
300
</property>
<property
name=
"maximum_size"
>
400
</property>
<property
name=
"hexpand"
>
True
</property>
<child>
<object
class=
"GtkProgressBar"
id=
"progressbar"
>
<property
name=
"visible"
>
True
</property>
<property
name=
"width_request"
>
400
</property>
<property
name=
"halign"
>
center
</property>
<property
name=
"valign"
>
center
</property>
<property
name=
"fraction"
>
0.3
</property>
...
...
@@ -78,6 +93,8 @@
</style>
</object>
</child>
</object>
</child>
<child>
<object
class=
"GtkLabel"
id=
"label_upgrades_warning"
>
...
...
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