Make BanSheet frameless
Similar to https://invent.kde.org/network/neochat/-/merge_requests/1487
This commit is contained in:
committed by
Tobias Fella
parent
5a469ed126
commit
b043cbedc9
@@ -17,11 +17,20 @@ Kirigami.Page {
|
|||||||
|
|
||||||
title: i18n("Ban User")
|
title: i18n("Ban User")
|
||||||
|
|
||||||
|
leftPadding: 0
|
||||||
|
rightPadding: 0
|
||||||
|
topPadding: 0
|
||||||
|
bottomPadding: 0
|
||||||
|
|
||||||
QQC2.TextArea {
|
QQC2.TextArea {
|
||||||
id: reason
|
id: reason
|
||||||
placeholderText: i18n("Reason for banning this user")
|
placeholderText: i18n("Reason for banning this user")
|
||||||
anchors.fill: parent
|
anchors.fill: parent
|
||||||
wrapMode: TextEdit.Wrap
|
wrapMode: TextEdit.Wrap
|
||||||
|
|
||||||
|
background: Rectangle {
|
||||||
|
color: Kirigami.Theme.backgroundColor
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
footer: QQC2.ToolBar {
|
footer: QQC2.ToolBar {
|
||||||
|
|||||||
Reference in New Issue
Block a user