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
{
ui->labelPathToFile->setText(curFile);
ui->labelPathToFile->setToolTip(curFile);
ui->pushButtonShowInFolder->setEnabled(true);
}
shownName += "[*]";

View file

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