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
455
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
58c0d38c
Commit
58c0d38c
authored
4 years ago
by
Prince Gupta
Committed by
Pierre Lamot
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
qml: centre align section of KeyNavigableTableView
parent
9c8d6d28
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
+16
-0
16 additions, 0 deletions
modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
with
16 additions
and
0 deletions
modules/gui/qt/widgets/qml/KeyNavigableTableView.qml
+
16
−
0
View file @
58c0d38c
...
...
@@ -87,6 +87,10 @@ NavigableFocusScope {
headerPositioning
:
ListView
.
OverlayHeader
header
:
Rectangle
{
readonly
property
alias
contentX
:
row
.
x
readonly
property
alias
contentWidth
:
row
.
width
width
:
parent
.
width
height
:
childrenRect
.
height
color
:
headerColor
...
...
@@ -98,6 +102,8 @@ NavigableFocusScope {
height
:
childrenRect
.
height
Row
{
id
:
row
anchors
{
leftMargin
:
VLCStyle
.
margin_xxxsmall
rightMargin
:
VLCStyle
.
margin_xxxsmall
...
...
@@ -149,6 +155,16 @@ NavigableFocusScope {
}
}
section.delegate
:
Text
{
x
:
headerItem
.
contentX
-
VLCStyle
.
table_section_width
topPadding
:
VLCStyle
.
margin_xsmall
bottomPadding
:
VLCStyle
.
margin_xxsmall
leftPadding
:
VLCStyle
.
table_section_text_margin
text
:
section
font.pixelSize
:
VLCStyle
.
fontHeight_normal
color
:
VLCStyle
.
colors
.
accent
}
delegate
:
Rectangle
{
id
:
lineView
...
...
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