[Commits] r1716 - sandbox/ahocevar/playground/ux/Printing/ux/widgets
commits at geoext.org
commits at geoext.org
Tue Jan 12 11:54:48 CET 2010
Author: ahocevar
Date: 2010-01-12 11:54:48 +0100 (Tue, 12 Jan 2010)
New Revision: 1716
Modified:
sandbox/ahocevar/playground/ux/Printing/ux/widgets/PrintPreview.js
Log:
simplified map overlay
Modified: sandbox/ahocevar/playground/ux/Printing/ux/widgets/PrintPreview.js
===================================================================
--- sandbox/ahocevar/playground/ux/Printing/ux/widgets/PrintPreview.js 2010-01-12 08:46:12 UTC (rev 1715)
+++ sandbox/ahocevar/playground/ux/Printing/ux/widgets/PrintPreview.js 2010-01-12 10:54:48 UTC (rev 1716)
@@ -226,24 +226,20 @@
this.printMapPanel.map.addControl(scaleLine);
scaleLine.activate();
return new Ext.Panel({
- layout: "column",
- width: 232,
cls: "gx-map-overlay",
+ layout: "column",
bodyStyle: "padding:5px",
items: [{
xtype: "box",
el: scaleLine.div,
- width: 100
+ width: scaleLine.maxWidth
}, {
xtype: "container",
- layout: "form",
- columnWidth: 1,
- style: "padding: .2em 5px 0 0",
+ style: "padding: .2em 5px 0 5px",
cls: "x-small-editor",
items: {
xtype: "combo",
- anchor: "100%",
- hideLabel: true,
+ width: 85,
store: this.printProvider.scales,
displayField: "name",
typeAhead: true,
More information about the Commits
mailing list