Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Itinerary
Commits
903a7fe4
Commit
903a7fe4
authored
Nov 05, 2021
by
Volker Krause
Browse files
Fix journey summary line logo aspect ratios
parent
d8a2c064
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/app/JourneySummaryDelegate.qml
View file @
903a7fe4
...
...
@@ -42,10 +42,8 @@ RowLayout {
delegate
:
Kirigami.Icon
{
source
:
PublicTransport
.
journeySectionIcon
(
modelData
)
color
:
PublicTransport
.
warnAboutSection
(
modelData
)
?
Kirigami
.
Theme
.
negativeTextColor
:
Kirigami
.
Theme
.
textColor
width
:
isMask
?
height
:
implicitWidth
height
:
Kirigami
.
Units
.
iconSizes
.
small
isMask
:
modelData
.
mode
!=
JourneySection
.
PublicTransport
||
(
!
modelData
.
route
.
line
.
hasLogo
&&
!
modelData
.
route
.
line
.
hasModeLogo
)
Layout.preferredWidth
:
width
Layout.preferredWidth
:
Kirigami
.
Units
.
iconSizes
.
small
*
Util
.
svgAspectRatio
(
source
)
Layout.preferredHeight
:
Kirigami
.
Units
.
iconSizes
.
small
}
}
...
...
Write
Preview
Supports
Markdown
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