Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
445
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
d3e4f339
Commit
d3e4f339
authored
5 months ago
by
Prince Gupta
Committed by
Felix Paul Kühne
5 months ago
Browse files
Options
Downloads
Patches
Plain Diff
qml: fix header view alignment in BrowseView
closes
#28586
parent
0285de2a
No related branches found
No related tags found
1 merge request
!6003
qml: fix header view alignment in BrowseView
Pipeline
#513352
passed with stage
Stage:
in 12 minutes and 3 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/gui/qt/network/qml/BrowseTreeDisplay.qml
+12
-4
12 additions, 4 deletions
modules/gui/qt/network/qml/BrowseTreeDisplay.qml
with
12 additions
and
4 deletions
modules/gui/qt/network/qml/BrowseTreeDisplay.qml
+
12
−
4
View file @
d3e4f339
...
...
@@ -37,6 +37,11 @@ MainViewLoader {
readonly
property
int
contentLeftMargin
:
currentItem
?.
contentLeftMargin
??
0
readonly
property
int
contentRightMargin
:
currentItem
?.
contentRightMargin
??
0
readonly
property
int
headerLeftPadding
:
(
contentLeftMargin
>
0
)
?
contentLeftMargin
:
VLCStyle
.
dynamicAppMargins
(
width
)
readonly
property
int
headerRightPadding
:
(
contentRightMargin
>
0
)
?
contentRightMargin
:
VLCStyle
.
dynamicAppMargins
(
width
)
// fixme remove this
property
Item
_currentView
:
currentItem
...
...
@@ -137,8 +142,8 @@ MainViewLoader {
headerDelegate
:
BrowseTreeHeader
{
providerModel
:
root
.
model
leftPadding
:
root
.
contentLeftMarg
in
rightPadding
:
root
.
content
Right
Marg
in
leftPadding
:
root
.
headerLeftPadd
in
g
rightPadding
:
root
.
header
Right
Padd
in
g
width
:
gridView
.
width
...
...
@@ -276,8 +281,8 @@ MainViewLoader {
header
:
BrowseTreeHeader
{
providerModel
:
root
.
model
leftPadding
:
root
.
contentLeft
Marg
in
rightPadding
:
root
.
contentRight
Marg
in
leftPadding
:
root
.
contentLeft
Padd
in
g
rightPadding
:
root
.
contentRight
Padd
in
g
width
:
tableView
.
width
...
...
@@ -411,6 +416,9 @@ MainViewLoader {
focus
:
true
leftPadding
:
root
.
headerLeftPadding
rightPadding
:
root
.
headerRightPadding
providerModel
:
root
.
model
Layout.fillWidth
:
true
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment