Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Reorganize buttons to set map extent
There's likely no situation where the four buttons are activated simultaneously... Better have three on a line than the current heterogeneous UI.
  • Loading branch information
DelazJ authored and m-kuhn committed Aug 24, 2017
1 parent 21b1c7c commit 50e8e1c
Showing 1 changed file with 23 additions and 20 deletions.
43 changes: 23 additions & 20 deletions src/ui/qgsextentgroupboxwidget.ui
Expand Up @@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>380</width>
<height>202</height>
<width>679</width>
<height>163</height>
</rect>
</property>
<property name="windowTitle">
Expand Down Expand Up @@ -77,7 +77,7 @@
<item>
<widget class="QWidget" name="widget_2" native="true">
<layout class="QGridLayout" name="gridLayout">
<item row="0" column="4">
<item row="0" column="6">
<widget class="QPushButton" name="mCurrentExtentButton">
<property name="minimumSize">
<size>
Expand All @@ -103,7 +103,7 @@
</property>
</spacer>
</item>
<item row="0" column="3">
<item row="0" column="5">
<spacer name="horizontalSpacer">
<property name="orientation">
<enum>Qt::Horizontal</enum>
Expand All @@ -116,7 +116,7 @@
</property>
</spacer>
</item>
<item row="0" column="5">
<item row="0" column="10">
<spacer name="horizontalSpacer_2">
<property name="orientation">
<enum>Qt::Horizontal</enum>
Expand All @@ -129,20 +129,7 @@
</property>
</spacer>
</item>
<item row="0" column="2">
<widget class="QPushButton" name="mOriginalExtentButton">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Current layer extent</string>
</property>
</widget>
</item>
<item row="1" column="2">
<item row="0" column="3">
<widget class="QPushButton" name="mButtonCalcFromLayer">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
Expand All @@ -155,7 +142,7 @@
</property>
</widget>
</item>
<item row="1" column="4">
<item row="0" column="11">
<widget class="QPushButton" name="mButtonDrawOnCanvas">
<property name="sizePolicy">
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
Expand All @@ -168,6 +155,19 @@
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QPushButton" name="mOriginalExtentButton">
<property name="minimumSize">
<size>
<width>150</width>
<height>0</height>
</size>
</property>
<property name="text">
<string>Current layer extent</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
Expand All @@ -178,7 +178,10 @@
<tabstop>mXMinLineEdit</tabstop>
<tabstop>mXMaxLineEdit</tabstop>
<tabstop>mYMinLineEdit</tabstop>
<tabstop>mOriginalExtentButton</tabstop>
<tabstop>mButtonCalcFromLayer</tabstop>
<tabstop>mCurrentExtentButton</tabstop>
<tabstop>mButtonDrawOnCanvas</tabstop>
</tabstops>
<resources/>
<connections/>
Expand Down

0 comments on commit 50e8e1c

Please sign in to comment.