CEikColumnListBox help on UIQ

Login to reply to this topic.
Tue, 2003-10-21 11:29
Joined: 2003-10-21
Forum posts: 2
Hi,
I want to have a column list box with the first column being an icon. However I want a bigger icon than the standard version gives. The size of image I want is similar to those in the BasicApp.
The problem is that unlike the BasicApp, as its a column list box the Item Drawer isn't the appropriate mechanism (as I can't figure out how to know which column I'm currently dealing with) but I think CColumnListBoxData I just don't know how.
If we take the app launcher list as an example I want my icons to be a similar size to the snaking list box view but in the column list view.
I guess I want something similar to the CAknSingleLargeStyleListBox.
I don't want to have to store large icons and small ones though so I'm thinking DrawBitmap with some scaling will come into play at some point

Any ideas??

S

Tue, 2003-11-11 08:38
Joined: 2003-10-28
Forum posts: 36
"Ideas" - Sure
Try Setting first column of the column List box to grraphics.

Code:
iListBox->ItemDrawer()->ColumnData()->SetGraphicsColumnL(0,ETrue);

and then incerase the item size so that the image wont cut out.
Code:
iListBox->SetItemHeightL(35);
Hope this is what u wanted

BR,

Sanket

Hungarian Notation ain't useful outside Hungary!

  • Login to reply to this topic.