Unsolved QLable changing size when calling the ResizeEvent
-
Hi ,
I'm trying to resize the size of the label when the ResizeEvent is called.
there is a widget that holds this label and when i'm changing the size of the widget the label staying as it and don't changed..
I think that I need to do some change on the label when the ResizeEvent called but I don't know which it's need to be.there is anybody who know what i need to do?
tnx!
-
@LeaA said in QLable changing size when calling the ResizeEvent:
there is anybody who know what i need to do?
yes, show some code ;)
-
@raven-worx
I don't have it yet.. -
Hi,
Out of curiosity, why not use a layout ? That would make the resizing handling automatic.
-
@SGaist
i think that i don't using a layout -
Then you should consider taking a look at that. Here's the documentation.
-
@SGaist
can you please be more specific? -
Did you read the documentation I linked to ?
-
yes and i did a layout but it's doesn't changed anything
-
Then as @raven-worx already asked, show us the code you use.
-
will adjastSize will help?
-
If you use layout properly there's no need for that.