Have anybody noticed that subclasses of QAbstractScrollArea (e.g. QTextEdit, QGraphicsView, etc) incorrectly styling their scrollbars? If you just place a QPlainTextEdit and set its scrollbar polices to ScrollBarAlwaysVisible, and then place a QScrollBar near it, they will be painted with different styles on a real device (the QPlainTextEdit would paint its scrollbars with standard Windows style, but the ordinal scrollbars would be painted with a most likely QMacStyle). Does anybody know how to solve this problem.
Also it seems that QAbstractScrollArea implemented assuming a fixed constant scrollbar height and width, and does not take into account the user defined size. When I set the width of vertical scrollbar to a lesser value, the scrollbar remains at the same X coordinate (an unoccupied space left between the right border of scrollbar and the right border of widget). And even move(dx, 0) can't solve this problem.