-
24 Apr 2012 3:48 AM #1
Answered: list no line between items
Answered: list no line between items
Hey,
I have a list. To see on that screenshot
IMG_0290.jpg
My question is now is it possible to remove the line between the list items. Is there a config or how should i do that?
-
Best Answer Posted by SebasSP
I've used Chrome Developer Tools to inspect a list. The line is defined by the following css:
So you should change that value in your css to modify it.Code:.x-list-normal .x-list-item .x-list-item-label { border-top: 1px solid #DEDEDE; }
-
24 Apr 2012 4:49 AM #2
I've used Chrome Developer Tools to inspect a list. The line is defined by the following css:
So you should change that value in your css to modify it.Code:.x-list-normal .x-list-item .x-list-item-label { border-top: 1px solid #DEDEDE; }
-
24 Apr 2012 11:14 PM #3
-
28 Mar 2013 8:43 AM #4
In version 2.1 it seems to have changed to:
.x-list-normal .x-list-item .x-dock-horizontal {
border: none;
}
-
18 Apr 2013 5:20 PM #5
In 2.2 it seems to have changed to:
.x-list-normal .x-list-item.x-list-item-tpl{
border: none;
}
-
7 May 2013 1:14 AM #6
-
7 May 2013 2:49 AM #7
Prefix the string of selectors with CLS specific to your list. Refer to this download:
https://market.sencha.com/extensions/touchtreegrid
./TouchTreeGrid_Advanced_220/ directory contains the Touch 2.2 version of code. TaskList example in TouchTreeGrid.view.Main (itemId = 'firstexample') has cls = ''x-touchtreegrid-list-accordion'.
touchtreegriddemo.css has this:
/* 2.1 selectors to eliminate lines ... 2nd set is for Touch 2.2 */
.x-touchtreegrid-list-accordion .x-list-normal .x-list-item .x-dock-horizontal,
.x-touchtreegrid-list-accordion .x-list-normal .x-list-item.x-list-item-tpl{
border: none;
}
Can see it here: http://www.lincolnwaterfrontrentals....viceType=Phone


Reply With Quote
