Verified Commit d6ee83bf authored by ivan tkachenko's avatar ivan tkachenko
Browse files

Overview: Center-align edited desktop name

parent d268ac44
/*
SPDX-FileCopyrightText: 2021 Vlad Zahorodnii <vlad.zahorodnii@kde.org>
SPDX-FileCopyrightText: 2022 ivan tkachenko <me@ratijas.tk>
SPDX-License-Identifier: GPL-2.0-or-later
*/
......@@ -188,7 +189,7 @@ Item {
PC3.ToolTip.text: text
PC3.ToolTip.visible: hovered
PC3. ToolTip.delay: Kirigami.Units.toolTipDelay
PC3.ToolTip.delay: Kirigami.Units.toolTipDelay
onClicked: delegate.remove()
}
......@@ -239,6 +240,8 @@ Item {
sourceComponent: PC3.TextField {
topPadding: 0
bottomPadding: 0
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
text: delegate.desktop.name
onEditingFinished: {
delegate.desktop.name = text;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment