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

View File

@@ -2,7 +2,7 @@ import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"
HRectangle {
Rectangle {
property alias buttonsImplicitWidth: viewButtons.implicitWidth
property int buttonsWidth: viewButtons.Layout.preferredWidth
property var activeButton: "members"

View File

@@ -2,7 +2,7 @@ import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../../Base"
HRectangle {
Rectangle {
id: roomSidePane
color: theme.chat.roomSidePane.background

View File

@@ -3,7 +3,7 @@ import QtQuick.Layouts 1.12
import "../Base"
import "../utils.js" as Utils
HRectangle {
Rectangle {
function setFocus() { areaScrollView.forceActiveFocus() }
property string indent: " "

View File

@@ -2,7 +2,7 @@ import QtQuick 2.12
import "../../Base"
import "../../utils.js" as Utils
HRectangle {
Rectangle {
property alias listView: eventList
color: theme.chat.eventList.background

View File

@@ -2,7 +2,7 @@ import QtQuick 2.12
import QtQuick.Layouts 1.12
import "../Base"
HRectangle {
Rectangle {
id: typingMembersBar
property alias label: typingLabel