Skip to content
Snippets Groups Projects
Commit d1852d4b authored by tatiana.novikova's avatar tatiana.novikova
Browse files

[*] Update comments

parent 2c154ed5
No related branches found
No related tags found
2 merge requests!14Features 2603,!13Features 2603
This commit is part of merge request !14. Comments created here will be created in the context of that merge request.
......@@ -5,7 +5,8 @@ DapComboBoxForm
{
id:dapComboBox
property int stringSize //temporary
//temporary variable for the calculating unnecessary part of text
property int stringSize
delegate:ItemDelegate
{
......@@ -33,12 +34,13 @@ DapComboBoxForm
anchors.topMargin: paddingTopItemDelegate
anchors.leftMargin: popup.visible ? sidePaddingActive : sidePaddingNormal
font:dapComboBox.font
TextMetrics //calculates various properties of a given string of text for a particular font
//Calculates various properties of a given string of text for a particular font
TextMetrics
{
id: tm
font: dapComboBox.font
elide: Text.ElideRight
elideWidth: parent.width - (popup.visible ? sidePaddingActive : sidePaddingNormal) * 2 - 8*pt//- indicatorWidth
elideWidth: parent.width - (popup.visible ? sidePaddingActive : sidePaddingNormal) * 2 - 8*pt
text: modelData
}
text:
......
......@@ -104,7 +104,7 @@ ComboBox
id:textTopComboBox
anchors.fill: parent
anchors.leftMargin: popup.visible ? sidePaddingActive : sidePaddingNormal
text: mainLineText //parent.displayText
text: mainLineText
font: parent.font
color: popup.visible ? hilightColorTopText : normalColorTopText
verticalAlignment: Text.AlignVCenter
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment