Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Developer
Zukka
Posts: 201
Registered: ‎05-08-2012
My Device: PlayBook 64 Gb and Z10 LE

bbUi Image List

Hi guys,

I develop an app with bbUi v 0.9.5 and woks fine, but I have the problem with v 0.9.6.

This is the problem:

 

I had popolated an imageList with this code:

 

listItem2 = document.createElement('div');
listItem2.style.height = 'auto';
listItem2.id = i;
listItem2.setAttribute('data-bb-title',autore);
listItem2.setAttribute('data-bb-type', 'item');
listItem2.setAttribute('data-bb-img', img);
listItem2.innerHTML = nuovastringa;
dataList.appendItem(listItem2);

 

with old version "auto" working fine and my item was display correctly, in new release don't work and the height is standard .. 

 

I think to setting the list with my CSS but i don't find where.. have you an idea?

 

tnx in advantage

 

_______________________________________________

If U like my post click on LIKE :smileywink: