[ScrollViewStyle] Evaluate frameVisible property
ScrollArea has a property for en/disabling the frame provided by its style. Until now the property wasn't evaluated, which besides making it impossible to deactivate the frame leads to visual artifacts (observed in Simple Menu: Flashing frame at the bottom of the page list). In order to not change the current implementations we additionally set the value in ScrollArea to true. Reviewed By: mart Subscribers: broulik, hein, plasma-devel, #frameworks Tags: #plasma, #frameworks Differential Revision: https://phabricator.kde.org/D4473
This commit is contained in:
parent
d8a1a9eb08
commit
eb39b35141
@ -34,6 +34,7 @@ QtQuickControls.ScrollView {
|
|||||||
id: root
|
id: root
|
||||||
|
|
||||||
style: Styles.ScrollViewStyle{}
|
style: Styles.ScrollViewStyle{}
|
||||||
|
frameVisible: true
|
||||||
|
|
||||||
//START HACK
|
//START HACK
|
||||||
//The following is a workaround for QTBUG-17051
|
//The following is a workaround for QTBUG-17051
|
||||||
|
@ -56,6 +56,8 @@ QtQuickControlStyle.ScrollViewStyle {
|
|||||||
}
|
}
|
||||||
|
|
||||||
frame: Item {
|
frame: Item {
|
||||||
|
visible: frameVisible
|
||||||
|
|
||||||
PlasmaCore.Svg {
|
PlasmaCore.Svg {
|
||||||
id: borderSvg
|
id: borderSvg
|
||||||
imagePath: "widgets/scrollwidget"
|
imagePath: "widgets/scrollwidget"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user