Skip to content
Snippets Groups Projects
Commit 3c158019 authored by Ludovic Hussonnois's avatar Ludovic Hussonnois
Browse files

REFAC: Update GUI tooltip and position of zoom level

parent 66cd0092
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ ProjectionBarWidget::~ProjectionBarWidget()
m_UI = NULL;
}
void ProjectionBarWidget::SetProjectionScale(double scale_x, double scale_y)
void ProjectionBarWidget::SetProjectionScale(double scale_x, double )
{
QString text = "1:1";
......
......@@ -42,7 +42,7 @@
<item>
<widget class="QLineEdit" name="projectionScaleLineEdit">
<property name="sizePolicy">
<sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
<sizepolicy hsizetype="Fixed" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
......@@ -53,6 +53,9 @@
<height>20</height>
</size>
</property>
<property name="toolTip">
<string>Current zoom-level of view, relative to reference layer (projection and spacing).</string>
</property>
<property name="locale">
<locale language="C" country="AnyCountry"/>
</property>
......@@ -67,6 +70,19 @@
</property>
</widget>
</item>
<item>
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>40</width>
<height>20</height>
</size>
</property>
</spacer>
</item>
</layout>
</widget>
<resources/>
......
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