PDA

View Full Version : QTextEdit Slider



zgulser
15th March 2012, 12:58
Hi everyone,

Sometimes I get the following behaviour for qtextedit's slider.

7505

This is something I face when I deal with qcombobox.

One reason is incorrect or missing implementation of style sheet. But I suspect inheritance as well. Any ideas?

high_flyer
15th March 2012, 21:25
please post the code that is creating AND initializing this QTextEdit.

zgulser
16th March 2012, 15:21
The problem solved.

I only styled QScrollar::handle subcontrol at first and it didn't work.

Then I styled all elements of QScrollbar including handle, add-page, sub-page, down-arrow, up arrow etc. and it worked!

Thank for your interest.