[vlc-commits] [Git][videolan/vlc][master] qml: use horizontalPadding and verticalPadding
Steve Lhomme (@robUx4)
gitlab at videolan.org
Sat May 27 05:42:20 UTC 2023
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
fd7e823c by Fatih Uzunoglu at 2023-05-27T05:24:33+00:00
qml: use horizontalPadding and verticalPadding
- - - - -
4 changed files:
- modules/gui/qt/maininterface/qml/MainDisplay.qml
- modules/gui/qt/playlist/qml/PlaylistDelegate.qml
- modules/gui/qt/widgets/qml/ScanProgressBar.qml
- modules/gui/qt/widgets/qml/VideoQualityLabels.qml
Changes:
=====================================
modules/gui/qt/maininterface/qml/MainDisplay.qml
=====================================
@@ -552,8 +552,7 @@ FocusScope {
z: 3
- rightPadding: VLCStyle.applicationHorizontalMargin
- leftPadding: VLCStyle.applicationHorizontalMargin
+ horizontalPadding: VLCStyle.applicationHorizontalMargin
bottomPadding: VLCStyle.applicationVerticalMargin
background.visible: !parentRectangle.layer.enabled
=====================================
modules/gui/qt/playlist/qml/PlaylistDelegate.qml
=====================================
@@ -44,9 +44,7 @@ T.ItemDelegate {
// Settings
- topPadding: VLCStyle.playlistDelegate_verticalPadding
-
- bottomPadding: VLCStyle.playlistDelegate_verticalPadding
+ verticalPadding: VLCStyle.playlistDelegate_verticalPadding
leftPadding: VLCStyle.margin_xxsmall
=====================================
modules/gui/qt/widgets/qml/ScanProgressBar.qml
=====================================
@@ -33,10 +33,8 @@ T.ProgressBar {
implicitHeight: Math.max(implicitBackgroundHeight + topInset + bottomInset,
implicitContentHeight + topPadding + bottomPadding)
- rightPadding: VLCStyle.margin_large
- leftPadding: VLCStyle.margin_large
- bottomPadding: VLCStyle.margin_small
- topPadding: VLCStyle.margin_small
+ horizontalPadding: VLCStyle.margin_large
+ verticalPadding: VLCStyle.margin_small
from: 0
to: 100
=====================================
modules/gui/qt/widgets/qml/VideoQualityLabels.qml
=====================================
@@ -46,10 +46,7 @@ Row {
delegate: T.Label {
id: label
- bottomPadding: VLCStyle.margin_xxxsmall
- topPadding: VLCStyle.margin_xxxsmall
- leftPadding: VLCStyle.margin_xxxsmall
- rightPadding: VLCStyle.margin_xxxsmall
+ padding: VLCStyle.margin_xxxsmall
visible: index < root.labels.length
text: index >= root.labels.length ? "" : root.labels[index]
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/fd7e823c1f639a71b2272df1108caf2b3019f310
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/fd7e823c1f639a71b2272df1108caf2b3019f310
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list