PDA

View Full Version : Having problems with complex components in DataView



Dmitry Arnin
7 Sep 2012, 9:55 AM
Hello. I'm having problems with such structure of DataView Item:
______________________
Text
[img] Long text with dots....
______________________
Text
[img] Long text with dots...
______________________
Text
[img] Long text with dots....
______________________


The problem is that my DataView is going out of bounds because of long strings (" Long text with dots..."). I have tried this css configuration for my label-fields:


white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;


But the problem stil remains.


Please help. May be you can give me sample code for that template.

mitchellsimoens
10 Sep 2012, 4:58 AM
What layout are you using if any?

From what you are showing so far, it doesn't look like you need to use Components either, just a template.

Dmitry Arnin
10 Sep 2012, 5:03 AM
I've found the solution here: DataView wider than 100% when using box-flex with white-space:nowrapp
(http://www.sencha.com/forum/showthread.php?154152-DataView-wider-than-100-when-using-box-flex-with-white-space-nowrap)May be this should be added to bug reports?