From 60bb9a9350633076cf2d83054e09e44beaf48392 Mon Sep 17 00:00:00 2001
From: suv-lp <>
Date: Thu, 23 Feb 2017 09:22:00 +0100
Subject: [Bug #1666939] Polar grid: reduce height of options dialog.
Fixed bugs:
- https://launchpad.net/bugs/1666939
(bzr r15541)
---
share/extensions/grid_polar.inx | 33 +++++++++++++++++++--------------
share/extensions/grid_polar.py | 3 +++
2 files changed, 22 insertions(+), 14 deletions(-)
diff --git a/share/extensions/grid_polar.inx b/share/extensions/grid_polar.inx
index ffc64a3d5..2fbd190e5 100644
--- a/share/extensions/grid_polar.inx
+++ b/share/extensions/grid_polar.inx
@@ -4,6 +4,7 @@
grids.polar
grid_polar.py
inkex.py
+
5.0
<_item msgctxt="Label" value="none">None
@@ -11,20 +12,24 @@
18
24
- <_param name="circ_divs_label" type="description" appearance="header">Circular Divisions
- 5
- 50.0
- 3
- false
- 2
- 1
- <_param name="ang_divs_label" type="description" appearance="header">Angular Divisions
- 24
- 4
- 1
- 2
- 2
- 1
+
+
+ 5
+ 50.0
+ 3
+ false
+ 2
+ 1
+
+
+ 24
+ 4
+ 1
+ 2
+ 2
+ 1
+
+
all
diff --git a/share/extensions/grid_polar.py b/share/extensions/grid_polar.py
index f3d5dbf41..c5a7e7062 100755
--- a/share/extensions/grid_polar.py
+++ b/share/extensions/grid_polar.py
@@ -54,6 +54,9 @@ def draw_SVG_label_centred(x, y, string, font_size, name, parent):
class Grid_Polar(inkex.Effect):
def __init__(self):
inkex.Effect.__init__(self)
+ self.OptionParser.add_option("--tab",
+ action="store", type="string",
+ dest="tab", default="circular_div")
self.OptionParser.add_option("--r_divs",
action="store", type="int",
dest="r_divs", default=5,
--
cgit v1.2.3