fix some typo in tabbox qml

REVIEW: 108809
This commit is contained in:
Weng Xuetian 2013-02-14 15:38:50 -05:00
parent b2ee6769de
commit ae7474a6c4
2 changed files with 2 additions and 2 deletions

View file

@ -167,7 +167,7 @@ Item {
listView, "calculateMaxRowWidth");
width = Math.max(textElement.width, width);
textElement.destroy();
return width + 32 + hoverItem.margins.right + hoverItem.margins.left + background.leftMargin + background.right;Margin
return width + 32 + hoverItem.margins.right + hoverItem.margins.left + background.leftMargin + background.rightMargin;
}
/**
* Calculates the height of one row based on the text height and icon size.

View file

@ -117,7 +117,7 @@ Item {
textListView, "calculateMaxRowWidth");
width = Math.max(textElement.width, width);
textElement.destroy();
return width + hoverItem.margins.right + hoverItem.margins.left + background.leftMargin + background.right;Margin
return width + hoverItem.margins.right + hoverItem.margins.left + background.leftMargin + background.rightMargin;
}
/**
* Calculates the height of one row based on the text height and icon size.