Skip to content

Commit 2b75117

Browse files
author
g_j_m
committedNov 6, 2007
Fix for ticket #772: mis-display of scale field in map composer
git-svn-id: http://svn.osgeo.org/qgis/trunk@7335 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 02a10f3 commit 2b75117

File tree

1 file changed

+11
-67
lines changed

1 file changed

+11
-67
lines changed
 

‎src/ui/qgscomposermapbase.ui

Lines changed: 11 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
11
<ui version="4.0" >
2-
<author></author>
3-
<comment></comment>
4-
<exportmacro></exportmacro>
52
<class>QgsComposerMapBase</class>
63
<widget class="QWidget" name="QgsComposerMapBase" >
74
<property name="geometry" >
85
<rect>
96
<x>0</x>
107
<y>0</y>
118
<width>271</width>
12-
<height>650</height>
9+
<height>597</height>
1310
</rect>
1411
</property>
1512
<property name="sizePolicy" >
16-
<sizepolicy>
17-
<hsizetype>7</hsizetype>
18-
<vsizetype>7</vsizetype>
13+
<sizepolicy vsizetype="Expanding" hsizetype="Expanding" >
1914
<horstretch>0</horstretch>
2015
<verstretch>0</verstretch>
2116
</sizepolicy>
@@ -24,12 +19,6 @@
2419
<string>Map options</string>
2520
</property>
2621
<layout class="QVBoxLayout" >
27-
<property name="margin" >
28-
<number>10</number>
29-
</property>
30-
<property name="spacing" >
31-
<number>6</number>
32-
</property>
3322
<item>
3423
<widget class="QLabel" name="mNameLabel" >
3524
<property name="text" >
@@ -66,9 +55,7 @@
6655
<bool>true</bool>
6756
</property>
6857
<property name="sizePolicy" >
69-
<sizepolicy>
70-
<hsizetype>7</hsizetype>
71-
<vsizetype>0</vsizetype>
58+
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
7259
<horstretch>0</horstretch>
7360
<verstretch>0</verstretch>
7461
</sizepolicy>
@@ -108,59 +95,28 @@
10895
<widget class="QLineEdit" name="mHeightLineEdit" />
10996
</item>
11097
<item>
111-
<widget class="Q3GroupBox" name="groupBox2" >
112-
<property name="sizePolicy" >
113-
<sizepolicy>
114-
<hsizetype>7</hsizetype>
115-
<vsizetype>0</vsizetype>
116-
<horstretch>0</horstretch>
117-
<verstretch>0</verstretch>
118-
</sizepolicy>
119-
</property>
98+
<widget class="QGroupBox" name="groupBox" >
12099
<property name="title" >
121100
<string>Scale</string>
122101
</property>
123-
<property name="orientation" >
124-
<enum>Qt::Vertical</enum>
125-
</property>
126102
<layout class="QHBoxLayout" >
127-
<property name="margin" >
128-
<number>10</number>
129-
</property>
130-
<property name="spacing" >
131-
<number>6</number>
132-
</property>
133103
<item>
134-
<widget class="QLabel" name="textLabel1_6" >
135-
<property name="sizePolicy" >
136-
<sizepolicy>
137-
<hsizetype>0</hsizetype>
138-
<vsizetype>0</vsizetype>
139-
<horstretch>0</horstretch>
140-
<verstretch>0</verstretch>
141-
</sizepolicy>
142-
</property>
104+
<widget class="QLabel" name="label" >
143105
<property name="text" >
144-
<string>1 :</string>
106+
<string>1:</string>
145107
</property>
146108
</widget>
147109
</item>
148110
<item>
149-
<widget class="QLineEdit" name="mScaleLineEdit" >
150-
<property name="enabled" >
151-
<bool>false</bool>
152-
</property>
153-
</widget>
111+
<widget class="QLineEdit" name="mScaleLineEdit" />
154112
</item>
155113
</layout>
156114
</widget>
157115
</item>
158116
<item>
159117
<widget class="QPushButton" name="mSetCurrentExtentButton" >
160118
<property name="sizePolicy" >
161-
<sizepolicy>
162-
<hsizetype>7</hsizetype>
163-
<vsizetype>0</vsizetype>
119+
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
164120
<horstretch>0</horstretch>
165121
<verstretch>0</verstretch>
166122
</sizepolicy>
@@ -239,9 +195,7 @@
239195
<item>
240196
<widget class="QComboBox" name="mPreviewModeComboBox" >
241197
<property name="sizePolicy" >
242-
<sizepolicy>
243-
<hsizetype>7</hsizetype>
244-
<vsizetype>0</vsizetype>
198+
<sizepolicy vsizetype="Fixed" hsizetype="Expanding" >
245199
<horstretch>0</horstretch>
246200
<verstretch>0</verstretch>
247201
</sizepolicy>
@@ -258,8 +212,8 @@
258212
</property>
259213
<property name="sizeHint" >
260214
<size>
261-
<width>21</width>
262-
<height>35</height>
215+
<width>251</width>
216+
<height>151</height>
263217
</size>
264218
</property>
265219
</spacer>
@@ -268,20 +222,10 @@
268222
</widget>
269223
<layoutdefault spacing="6" margin="11" />
270224
<pixmapfunction>qPixmapFromMimeSource</pixmapfunction>
271-
<customwidgets>
272-
<customwidget>
273-
<class>Q3GroupBox</class>
274-
<extends></extends>
275-
<header>Qt3Support/Q3GroupBox</header>
276-
<container>1</container>
277-
<pixmap></pixmap>
278-
</customwidget>
279-
</customwidgets>
280225
<tabstops>
281226
<tabstop>mCalculateComboBox</tabstop>
282227
<tabstop>mWidthLineEdit</tabstop>
283228
<tabstop>mHeightLineEdit</tabstop>
284-
<tabstop>mScaleLineEdit</tabstop>
285229
<tabstop>mSetCurrentExtentButton</tabstop>
286230
<tabstop>mWidthScaleLineEdit</tabstop>
287231
<tabstop>mSymbolScaleLineEdit</tabstop>

0 commit comments

Comments
 (0)
Please sign in to comment.