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!
-
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 ;)
-
@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.
-
Hi,
Out of curiosity, why not use a layout ? That would make the resizing handling automatic.
-
Then you should consider taking a look at that. Here's the documentation.
-
Then you should consider taking a look at that. Here's the documentation.
-
Did you read the documentation I linked to ?
-
Then as @raven-worx already asked, show us the code you use.
-
If you use layout properly there's no need for that.