diff options
Diffstat (limited to 'grc/data/platforms/python/blocks/variable_slider.xml')
-rw-r--r-- | grc/data/platforms/python/blocks/variable_slider.xml | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/grc/data/platforms/python/blocks/variable_slider.xml b/grc/data/platforms/python/blocks/variable_slider.xml index 2f6374b9a..27ac7ea5e 100644 --- a/grc/data/platforms/python/blocks/variable_slider.xml +++ b/grc/data/platforms/python/blocks/variable_slider.xml @@ -20,6 +20,7 @@ _$(id)_control = grc_wxgui.slider_$(slider_type)_control( min=$min, max=$max, num_steps=$num_steps, + slider_length=$slider_length, ) #set $grid_pos = $grid_pos.eval #if not grid_pos @@ -56,8 +57,16 @@ self.GridAdd(_$(id)_control, $grid_pos[0], $grid_pos[1], $grid_pos[2], $grid_pos <key>num_steps</key> <value>100</value> <type>int</type> + <hide>part</hide> </param> - <param> + <param> + <name>Slider Length (px)</name> + <key>slider_length</key> + <value>200</value> + <type>int</type> + <hide>part</hide> + </param> + <param> <name>Slider Type</name> <key>slider_type</key> <value>horizontal</value> |