Code cleanup && add minimum room management. #13
This commit is contained in:
@@ -4,7 +4,6 @@ import QtGraphicalEffects 1.0
|
||||
import QtQuick.Controls.Material 2.2
|
||||
|
||||
Item {
|
||||
property bool opaqueBackground: false
|
||||
property bool round: true
|
||||
property string source: ""
|
||||
property string displayText: ""
|
||||
@@ -13,14 +12,6 @@ Item {
|
||||
|
||||
id: item
|
||||
|
||||
Rectangle {
|
||||
width: item.width
|
||||
height: item.width
|
||||
radius: round ? item.width / 2 : 0
|
||||
color: "white"
|
||||
visible: opaqueBackground
|
||||
}
|
||||
|
||||
Image {
|
||||
id: avatar
|
||||
width: item.width
|
||||
|
||||
Reference in New Issue
Block a user