Skip to content
Snippets Groups Projects
Commit 653fd6de authored by Mohit Marathe's avatar Mohit Marathe Committed by Jean-Baptiste Kempf
Browse files

Fix alignment issues with qt-safe-area option


Signed-off-by: default avatarMohit Marathe <mohitmarathe23@gmail.com>
parent 664ff645
No related branches found
No related tags found
1 merge request!3446qt: Fix alignment issues when qt-safe-area is enabled
Pipeline #331074 passed with stage
in 1 hour, 33 minutes, and 8 seconds
......@@ -135,8 +135,6 @@ FocusScope {
Row {
anchors.fill: parent
anchors.leftMargin: root.leftPadding
visible: artistModel.count > 0
Widgets.KeyNavigableListView {
......@@ -179,7 +177,7 @@ FocusScope {
text: I18n.qtr("Artists")
font.pixelSize: VLCStyle.fontSize_large
color: artistList.colorContext.fg.primary
leftPadding: VLCStyle.margin_normal
leftPadding: root.leftPadding + VLCStyle.margin_normal
bottomPadding: VLCStyle.margin_small
topPadding: VLCStyle.margin_xlarge
}
......@@ -187,6 +185,8 @@ FocusScope {
delegate: MusicArtistDelegate {
width: artistList.width
leftPadding: root.leftPadding
isCurrent: ListView.isCurrentItem
mlModel: artistModel
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment