fix some typo in tabbox qml
REVIEW: 108809
This commit is contained in:
parent
b2ee6769de
commit
ae7474a6c4
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue