New Moon
New Moon

Reputation: 817

Qt - Scrolling the Text under a widget

Can anyone plz try to solve my problem. i have a frame, in that am scrolling a text. now i have added 2 widgets at both the ends of the frame. Using the stylesheet i had changed the color of the 2 widgets in black color. Now my text starts scrolling above the black color of the widget. But what i want to do is, the text should start scroll below the widget and it should end by scrolling below the widget. How can i do this? Hope u guyz got my question... Herewith i had attached the screenshot of my frame for your reference. Plz Help.. Thanks in Advance.!

enter image description here

Upvotes: 0

Views: 208

Answers (1)

bmkorkut
bmkorkut

Reputation: 616

You need to set the z-depth of the side components. Try calling raise() on them.

Upvotes: 1

Related Questions