Quote Originally Posted by anju123 View Post
thanks marcel for the code..
just one thing the line if( tabRect.topLeft.x() >= barTopRight.x(i) ), is giving me the "true" status in both the cases.
In my case the TabWidget is given a resize event during the initialisation of the screen , but the above code always gives the default size, so I have modified the code to the code given below:
if(tabRect.topLeft().x() >= QApplication::desktop()->width() )
The tabbar is resized to desktop's width in the starting.
Well, OK then. I didn't know in exactly what moment you needed it.
I thought you wanted to know if scrollbars are present somewhere during runtime, after initialization.

Regards