Correct size of the label path to a file.

--HG--
branch : feature
This commit is contained in:
Roman Telezhynskyi 2015-07-25 16:05:16 +03:00
parent 19b787b111
commit 984d10498b
2 changed files with 9 additions and 2 deletions

View File

@ -1338,6 +1338,7 @@ void TMainWindow::SetCurrentFile(const QString &fileName)
else else
{ {
ui->labelPathToFile->setText(curFile); ui->labelPathToFile->setText(curFile);
ui->labelPathToFile->setToolTip(curFile);
ui->pushButtonShowInFolder->setEnabled(true); ui->pushButtonShowInFolder->setEnabled(true);
} }
shownName += "[*]"; shownName += "[*]";

View File

@ -29,10 +29,10 @@
<item> <item>
<widget class="QTabWidget" name="tabWidget"> <widget class="QTabWidget" name="tabWidget">
<property name="toolTip"> <property name="toolTip">
<string>Remove measurement</string> <string/>
</property> </property>
<property name="currentIndex"> <property name="currentIndex">
<number>0</number> <number>1</number>
</property> </property>
<widget class="QWidget" name="tabMeasurements"> <widget class="QWidget" name="tabMeasurements">
<attribute name="icon"> <attribute name="icon">
@ -418,6 +418,12 @@
<layout class="QHBoxLayout" name="horizontalLayoutPath"> <layout class="QHBoxLayout" name="horizontalLayoutPath">
<item> <item>
<widget class="QLabel" name="labelPathToFile"> <widget class="QLabel" name="labelPathToFile">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Expanding">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="text"> <property name="text">
<string>Path to file</string> <string>Path to file</string>
</property> </property>