user174084
user174084

Reputation: 1107

Qt Show Half of Widget

I have a QGroupBox widget that I am animating off the screen. The problem is that I only want to show certain parts of the group box. For example if the widget is 200 pixels in width how do I only show the first 100 pixels with out changing the size of the widget and making the layout go funny?

Thanks in advance

Upvotes: 0

Views: 365

Answers (1)

user174084
user174084

Reputation: 1107

I have come up with a solution. By placing the widget inside of another group box and animating it to move out side the bounds of the group box produces the desired result.

Upvotes: 2

Related Questions