[Qt-interest] QScrollArea issue
Andre Somers
andre at familiesomers.nl
Tue Apr 20 13:30:11 CEST 2010
On 20-4-2010 12:46, Santhosh Y wrote:
> Hi,
>
> I am adding QWidget inside a QScrollArea.
>
> I am setting a fixed size to my QWidget as "1280 X 722"
> When I add the Qwidget to QScrollArea when the available area on the
> screen is exactly 1280, then
> also QScrollArea is showing horizontal scroll bar.
>
> I am not understanding why it has to show horizontal scroll bar when the
> available space is as needed by the widget inside it.
>
> Please let me know, what is the issue here?
>
>
Because a scroll area also has a frame, and thus the available space
within the widget is not the same as the space the scroll area itself
occupies? Just a guess...
André
More information about the Qt-interest-old
mailing list