Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Elisa
Commits
bda79fc5
Commit
bda79fc5
authored
Jan 13, 2022
by
Nate Graham
Browse files
Give Sort button an icon
BUG: 448097
FIXED-IN: 22.04
parent
534942d3
Pipeline
#123144
passed with stage
in 3 minutes and 54 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/qml/NavigationActionBar.qml
View file @
bda79fc5
...
...
@@ -78,17 +78,26 @@ Item {
// that opens a dropdown menu
// TODO: Port more fully to Kirigami so we get this for free
contentItem
:
RowLayout
{
spacing
:
Kirigami
.
Units
.
large
Spacing
spacing
:
Kirigami
.
Units
.
small
Spacing
Label
{
Kirigami.Icon
{
Layout.leftMargin
:
Kirigami
.
Units
.
largeSpacing
implicitWidth
:
Kirigami
.
Units
.
iconSizes
.
smallMedium
implicitHeight
:
Kirigami
.
Units
.
iconSizes
.
smallMedium
source
:
'
view-sort
'
isMask
:
true
}
Label
{
text
:
if
(
sortMenu
.
sortRoleName
!==
""
)
{
i18nc
(
"
Sort By Menu Title with no sort selected
"
,
"
Sort: %1
"
,
sortMenu
.
sortRoleName
)
}
else
{
i18nc
(
"
Sort By Menu Title with no sort selected
"
,
"
Sort
"
)
}
}
Kirigami.Icon
{
Layout.leftMargin
:
Kirigami
.
Units
.
smallSpacing
Layout.rightMargin
:
Kirigami
.
Units
.
largeSpacing
implicitWidth
:
Kirigami
.
Units
.
iconSizes
.
small
implicitHeight
:
Kirigami
.
Units
.
iconSizes
.
small
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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