Possible to default the qApp to ScrollBarOverlap?
-
About the pixel metric flag:
PM_ScrollView_ScrollBarOverlap, is it possible to 'default' the entire application QScrollBars to overlap?I mean, whenever a
QScrollBarbe created it defaults the overlapping flagPM_ScrollView_ScrollBarOverlapto true, or the unique way is installing a proxy filter on each control that contains a QScrollBar and return 1 when its the flag? -
Don't install it on individual scrollbars. Use it on your application object like in the example code I linked.
-
About the pixel metric flag:
PM_ScrollView_ScrollBarOverlap, is it possible to 'default' the entire application QScrollBars to overlap?I mean, whenever a
QScrollBarbe created it defaults the overlapping flagPM_ScrollView_ScrollBarOverlapto true, or the unique way is installing a proxy filter on each control that contains a QScrollBar and return 1 when its the flag?@Daniella When you need to change any style defaults the way to do it is use a proxy style and simply return the desired value for the metric you want.
-
@Daniella When you need to change any style defaults the way to do it is use a proxy style and simply return the desired value for the metric you want.
-
Don't install it on individual scrollbars. Use it on your application object like in the example code I linked.
-
D Daniella has marked this topic as solved on