From ae7474a6c44a8fbddd3398cbd181e9eb333b9b3b Mon Sep 17 00:00:00 2001 From: Weng Xuetian Date: Thu, 14 Feb 2013 15:38:50 -0500 Subject: [PATCH] fix some typo in tabbox qml REVIEW: 108809 --- tabbox/qml/clients/informative/contents/ui/main.qml | 2 +- tabbox/qml/clients/text/contents/ui/main.qml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tabbox/qml/clients/informative/contents/ui/main.qml b/tabbox/qml/clients/informative/contents/ui/main.qml index eaff9f7a66..c52186950a 100644 --- a/tabbox/qml/clients/informative/contents/ui/main.qml +++ b/tabbox/qml/clients/informative/contents/ui/main.qml @@ -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. diff --git a/tabbox/qml/clients/text/contents/ui/main.qml b/tabbox/qml/clients/text/contents/ui/main.qml index c700e04078..aac7387c72 100644 --- a/tabbox/qml/clients/text/contents/ui/main.qml +++ b/tabbox/qml/clients/text/contents/ui/main.qml @@ -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.