Remove uneeded HRectangle component

This commit is contained in:
miruka
2019-08-27 22:46:31 -04:00
parent 77dbc3a502
commit 560981a97e
20 changed files with 24 additions and 29 deletions

View File

@@ -2,9 +2,10 @@ import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"
HRectangle {
Rectangle {
id: banner
implicitHeight: childrenRect.height
color: theme.controls.box.background
property alias avatar: bannerAvatar
property alias icon: bannerIcon
@@ -25,7 +26,7 @@ HRectangle {
HRowLayout {
id: bannerRow
HRectangle {
Rectangle {
id: bannerAvatarWrapper
color: "black"
@@ -79,7 +80,7 @@ HRectangle {
}
}
HRectangle {
Rectangle {
id: buttonsRightPadding
color: theme.controls.button.background
visible: bannerGrid.flow == GridLayout.TopToBottom