~qqworini/ubuntu-rssreader-app/alpha-1

« back to all changes in this revision

Viewing changes to ListColumnDelegate.qml

  • Committer: Tarmac
  • Author(s): Dariusz Gadomski
  • Date: 2013-07-30 08:34:07 UTC
  • mfrom: (20.2.2 relative-time-formatting)
  • Revision ID: tarmac-20130730083407-v69zz7s1glpps1yh
Improved relative time formatting utility.

Approved by Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
    property real childrenMaxWidth: 0
21
21
    property int modelIndex
22
22
 
23
 
    function addItem(rss_title, rss_description, model, index)
 
23
    function addItem(rss_item, rss_description, model, index)
24
24
    {
25
25
//        console.log("delegate height: ", rss_item_delegate.height) ;
26
 
        var newD = AddD.addDelegate(rss_title, ImgS.separate(rss_description), model, index);
 
26
        var newD = AddD.addDelegate(rss_item, ImgS.separate(rss_description), model, index);
27
27
        getChildrenRect() ;
28
28
        rss_item_delegate.width = childrenMaxWidth ;
29
29
        //console.log("childrenSumHeight, column.height: ", childrenSumHeight, rss_item_delegate.height)