Re: [Development] sizeHint for QAbstractScrollArea, especially item views

2012-01-12 Thread Christoph Schleifenbaum
: development@qt-project.org Subject: Re: [Development] sizeHint for QAbstractScrollArea, especially item views Hi, thanks for your input. What do you think about adding some sizeHint policy to this? I'm thinking about as it is done for QComboBox, i.e. AdjustToContents vs

Re: [Development] sizeHint for QAbstractScrollArea, especially item views

2012-01-12 Thread jan-arve.saether
:19 To: Saether Jan-Arve (Nokia-MP/Oslo) Cc: development@qt-project.org Subject: Re: [Development] sizeHint for QAbstractScrollArea, especially item views Hi, ok, I added a adjustSizePolicy property. Please have a look: http://codereview.qt-project.org/12971 Cheers, Christoph 11 jan 2012 kl

Re: [Development] sizeHint for QAbstractScrollArea, especially item views

2012-01-12 Thread Christoph Schleifenbaum
(Nokia-MP/Oslo) Cc: development@qt-project.org Subject: Re: [Development] sizeHint for QAbstractScrollArea, especially item views Hi, ok, I added a adjustSizePolicy property. Please have a look: http://codereview.qt-project.org/12971 Cheers, Christoph 11 jan 2012 kl. 12:09

Re: [Development] sizeHint for QAbstractScrollArea, especially item views

2012-01-12 Thread jan-arve.saether
[mailto:christoph.schleifenb...@kdab.com] Sent: 10. januar 2012 17:19 To: Saether Jan-Arve (Nokia-MP/Oslo) Cc: development@qt-project.orgmailto:development@qt-project.org Subject: Re: [Development] sizeHint for QAbstractScrollArea, especially item views Hi, thanks for your input. What do you think about

Re: [Development] sizeHint for QAbstractScrollArea, especially item views

2012-01-11 Thread jan-arve.saether
...@kdab.com] Sent: 10. januar 2012 17:19 To: Saether Jan-Arve (Nokia-MP/Oslo) Cc: development@qt-project.org Subject: Re: [Development] sizeHint for QAbstractScrollArea, especially item views Hi, thanks for your input. What do you think about adding some sizeHint policy to this? I'm thinking about

Re: [Development] sizeHint for QAbstractScrollArea, especially item views

2012-01-10 Thread Christoph Schleifenbaum
] sizeHint for QAbstractScrollArea, especially item views Hi, currently, item views do return a rather random size hint. Some at KDAB, including me, would love to see a size hint actually being related to the scroll area's content. For this, we thought of a method viewportSizeHint which

Re: [Development] sizeHint for QAbstractScrollArea, especially item views

2012-01-10 Thread Christoph Schleifenbaum
for QAbstractScrollArea, especially item views Hi, currently, item views do return a rather random size hint. Some at KDAB, including me, would love to see a size hint actually being related to the scroll area's content. For this, we thought of a method viewportSizeHint which returns the size

Re: [Development] sizeHint for QAbstractScrollArea, especially item views

2012-01-06 Thread Stephen Kelly
On Thursday, December 22, 2011 18:06:51 Christoph Schleifenbaum wrote: Hi, currently, item views do return a rather random size hint. Some at KDAB, including me, would love to see a size hint actually being related to the scroll area's content. For this, we thought of a method

[Development] sizeHint for QAbstractScrollArea, especially item views

2011-12-22 Thread Christoph Schleifenbaum
Hi, currently, item views do return a rather random size hint. Some at KDAB, including me, would love to see a size hint actually being related to the scroll area's content. For this, we thought of a method viewportSizeHint which returns the size of the viewport as if there would be no scroll