mirror of https://code.videolan.org/videolan/vlc
qml: fix double padding
This commit is contained in:
parent
4149672b53
commit
4fc045f1ea
|
@ -40,27 +40,20 @@ T.Pane {
|
|||
colorSet: ColorContext.View
|
||||
}
|
||||
|
||||
height: implicitHeight
|
||||
implicitHeight: layout.implicitHeight + topPadding + bottomPadding
|
||||
|
||||
topPadding: VLCStyle.layoutTitle_top_padding
|
||||
bottomPadding: VLCStyle.layoutTitle_bottom_padding
|
||||
|
||||
height: implicitHeight
|
||||
implicitHeight: layout.implicitHeight + topPadding + bottomPadding
|
||||
implicitWidth: layout.implicitWidth + leftPadding + rightPadding
|
||||
|
||||
focus: medialibraryBtn.visible
|
||||
Navigation.navigable: medialibraryBtn.visible
|
||||
|
||||
RowLayout {
|
||||
id: layout
|
||||
|
||||
anchors {
|
||||
fill: parent
|
||||
|
||||
leftMargin: root.leftPadding
|
||||
rightMargin: root.rightPadding
|
||||
|
||||
topMargin: root.topPadding
|
||||
bottomMargin: root.bottomPadding
|
||||
}
|
||||
anchors.fill: parent
|
||||
|
||||
Widgets.SubtitleLabel {
|
||||
text: providerModel.name
|
||||
|
|
Loading…
Reference in New Issue