D20972: [sidebar] Make search field not glued to the separator
Filip Fila
noreply at phabricator.kde.org
Tue May 21 22:19:58 BST 2019
filipf added a comment.
In D20972#465912 <https://phabricator.kde.org/D20972#465912>, @davidedmundson wrote:
> > When anchors.margins is removed we see that the ToolButton still has 1px of its own margin around it
>
> From what? Should they be there?
I believe it's inherent to the control. If I test with:
import QtQuick 2.12
import QtQuick.Controls 2.12 as QQC2
Rectangle {
id: recty
width: 150
height: 100
color: "black"
Rectangle {
id: tangly
anchors.centerIn: recty
width: 100
height: 50
color: "white"
}
QQC2.ToolButton {
anchors.left: tangly.left
anchors.top: tangly.top
icon.name: "application-menu"
}
}
I see that there are 1px margins to the left and to the top of the tool button.
F6841574: image.png <https://phabricator.kde.org/F6841574>
REPOSITORY
R124 System Settings
REVISION DETAIL
https://phabricator.kde.org/D20972
To: filipf, #vdg, ngraham, davidedmundson
Cc: abetts, davidedmundson, plasma-devel, jraleigh, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, sebas, apol, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20190521/6c7c862f/attachment.html>
More information about the Plasma-devel
mailing list