Re: [Interest] Unified items in QListView icon mode

2013-11-20 Thread Philipp Kursawe
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.ga...@edeltech.chwrote: Ok, I se the problem. However the behavior is consistent: I mean by that that everything is top aligned. But If I

Re: [Interest] Unified items in QListView icon mode

2013-11-20 Thread Philipp Kursawe
Yes sure I could use this hack, but I hoped there is a better way of achieving a behaviour which is the default under Win32 (where I come from and never have to fight such issues :) On Wed, Nov 20, 2013 at 12:50 AM, Tony Rietwyk t...@rightsoft.com.auwrote: Hi Philipp, Can't you use a

Re: [Interest] Unified items in QListView icon mode

2013-11-19 Thread Philipp Kursawe
sure: http://pastebin.com/5ncqUJrs On Mon, Nov 18, 2013 at 9:39 PM, Samuel Gaist samuel.ga...@edeltech.chwrote: Do you have a minimum sample that reproduce the problem ? On 18 nov. 2013, at 21:31, Philipp Kursawe phil.kurs...@gmail.com wrote: Its a mixed problem I guess. When the items

Re: [Interest] Unified items in QListView icon mode

2013-11-19 Thread Samuel Gaist
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,

[Interest] Unified items in QListView icon mode

2013-11-18 Thread Philipp Kursawe
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?

Re: [Interest] Unified items in QListView icon mode

2013-11-18 Thread Samuel Gaist
On 18 nov. 2013, at 18:02, Philipp Kursawe phil.kurs...@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

Re: [Interest] Unified items in QListView icon mode

2013-11-18 Thread Philipp Kursawe
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

Re: [Interest] Unified items in QListView icon mode

2013-11-18 Thread Samuel Gaist
Do you have a minimum sample that reproduce the problem ? On 18 nov. 2013, at 21:31, Philipp Kursawe phil.kurs...@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