How to auto-size QGraphicsItem with QGrpahicsTextItem???
Unsolved
General and Desktop
-
Hello,
Can we auto-size a QGraphicsItem for example rectangle with the text written inside it.... How????
Many Thanks
-
Hi,
Do you mean having two different items with size in sync ?
-
@SGaist Yes, When I write any text on QGraphicsItem ex: Rectangle... and text id big so according to text graphics item should adjust
-
How are you writing that text ?
-
@SGaist I write text with the help of QGraphicsitemtext
-
So you're using QGraphicsTextItem to put text over QGraphicsRectItem ?