Hi all,
I created a class that derives from QGraphicsWidget. In that class I put different UI components (Plasma::IconWidget, Plasma::ToolButton). These are added to a QGraphicsLinearLayout object. Now when I use objects from this class I created and put them in a scrollwidget they have to much space in between them. It looks like the IconWidget (from which I only use text, as it has to be clickable) gives takes more space then necessary. There is only 1 line of text and the space reserved is maybe 3 times the hight of the text itself. I am searching for a way to get rid of this space-loss. I tried setContentsMargin and spacing. THis seems to work for ToolButton but not for IconWidget. Maybe this has also to do with the QGraphicsLinearLayout but I am not sure. Anyone an idea how I can fix this?
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel