Remove uneeded HRectangle component
This commit is contained in:
@@ -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
|
||||
|
@@ -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"
|
||||
|
@@ -2,7 +2,7 @@ import QtQuick 2.12
|
||||
import QtQuick.Layouts 1.12
|
||||
import "../../Base"
|
||||
|
||||
HRectangle {
|
||||
Rectangle {
|
||||
id: roomSidePane
|
||||
color: theme.chat.roomSidePane.background
|
||||
|
||||
|
@@ -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: " "
|
||||
|
@@ -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
|
||||
|
@@ -2,7 +2,7 @@ import QtQuick 2.12
|
||||
import QtQuick.Layouts 1.12
|
||||
import "../Base"
|
||||
|
||||
HRectangle {
|
||||
Rectangle {
|
||||
id: typingMembersBar
|
||||
|
||||
property alias label: typingLabel
|
||||
|
Reference in New Issue
Block a user