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
Plasma
Breeze Style for QQC2
Commits
0701295e
Commit
0701295e
authored
Oct 17, 2022
by
Devin Lin
🎨
Browse files
ScrollBar & ScrollIndicator: Show over content even if it loaded after
parent
ff0a0767
Pipeline
#264335
passed with stage
in 2 minutes and 11 seconds
Changes
2
Pipelines
4
Hide whitespace changes
Inline
Side-by-side
style/qtquickcontrols/ScrollBar.qml
View file @
0701295e
...
...
@@ -11,6 +11,10 @@ import "impl" as Impl
T.ScrollBar
{
id
:
control
// content may be loaded after this component, ensure it always stays above content
// inline with qqc2-desktop-style behaviour
z
:
9999
implicitWidth
:
Math
.
max
(
implicitBackgroundWidth
+
leftInset
+
rightInset
,
implicitContentWidth
+
leftPadding
+
rightPadding
)
implicitHeight
:
Math
.
max
(
implicitBackgroundHeight
+
topInset
+
bottomInset
,
...
...
style/qtquickcontrols/ScrollIndicator.qml
View file @
0701295e
...
...
@@ -11,6 +11,10 @@ import "impl" as Impl
T.ScrollIndicator
{
id
:
control
// content may be loaded after this component, ensure it always stays above content
// inline with qqc2-desktop-style behaviour
z
:
9999
implicitWidth
:
Math
.
max
(
implicitBackgroundWidth
+
leftInset
+
rightInset
,
implicitContentWidth
+
leftPadding
+
rightPadding
)
implicitHeight
:
Math
.
max
(
implicitBackgroundHeight
+
topInset
+
bottomInset
,
...
...
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