[Interest] Unified items in QListView icon mode

Philipp Kursawe phil.kursawe at gmail.com
Wed Nov 20 11:16:33 CET 2013


Yes, that's correct. I would expect setting the icon size property would
achieve that but it doesnt.


On Tue, Nov 19, 2013 at 11:42 PM, Samuel Gaist <samuel.gaist at edeltech.ch>wrote:

> Ok, I se the problem. However the behavior is consistent: I mean by that
> that everything is top aligned. But If I understood you correctly the
> behavior should be that without a valid Icon the text should be at the same
> height as the one with valid icons. Am I right ?
>
> On 19 nov. 2013, at 11:23, Philipp Kursawe <phil.kursawe at gmail.com> wrote:
>
> > sure:
> >
> > http://pastebin.com/5ncqUJrs
> >
> >
> > On Mon, Nov 18, 2013 at 9:39 PM, Samuel Gaist <samuel.gaist at edeltech.ch>
> wrote:
> > 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
> >
> >
> > _______________________________________________
> > Interest mailing list
> > Interest at qt-project.org
> > http://lists.qt-project.org/mailman/listinfo/interest
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131120/86483300/attachment.html>


More information about the Interest mailing list