[Interest] Unified items in QListView icon mode

Samuel Gaist samuel.gaist at edeltech.ch
Mon Nov 18 21:39:04 CET 2013


Do you have a minimum sample that reproduce the problem ?

On 18 nov. 2013, at 21:31, Philipp Kursawe <phil.kursawe at gmail.com> wrote:

> Its a mixed problem I guess. When the items has to long label, the total size of the item is increased (horizontally) to fit the label text. However, if there is no icon attached to the item (becuase the models decoration returns none) then the items text appears top aligned and not where the other items text appears (at the bottom of the icon).
> 
> 
> On Mon, Nov 18, 2013 at 9:29 PM, Samuel Gaist <samuel.gaist at edeltech.ch> wrote:
> 
> On 18 nov. 2013, at 18:02, Philipp Kursawe <phil.kursawe at gmail.com> wrote:
> 
> > I wonder whats broken with the QListView.
> > I want it to display 64x64 icons and a label (which can be quite long).
> > What properties do I have to set so the listview renders the items (even the ones without a Qt::Decoration role) correctly in a 64x64 grid?
> >
> > _______________________________________________
> > Interest mailing list
> > Interest at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/interest
> 
> Hi,
> 
> Do you have a problem with word wrapping ?
> 
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest




More information about the Interest mailing list