summaryrefslogtreecommitdiff
path: root/src/modules/sysinfo/netstatus
diff options
context:
space:
mode:
authorSimon Tischer <simon@t-tischer.de>2020-04-13 11:00:45 +0200
committerChristopher Michael <devilhorns@comcast.net>2020-04-13 08:09:55 -0400
commit5853fca2d433e300fa134637f134bcef52b384f6 (patch)
tree1f049e1357c2f3c8c52b12b28ebf72a1a1fce0ef /src/modules/sysinfo/netstatus
parent2f52f093b6e89ce9ee3e672419b686723cd47ca8 (diff)
downloadenlightenment-5853fca2d433e300fa134637f134bcef52b384f6.tar.gz
netstatus/batman/pager - slider stepping fixes with mousewheel
detail work on pager(gadget) settings - changed indicator format to slider format - changed steps to make more sence Reviewed-by: Christopher Michael <devilhorns@comcast.net> Differential Revision: https://phab.enlightenment.org/D11693
Diffstat (limited to 'src/modules/sysinfo/netstatus')
-rw-r--r--src/modules/sysinfo/netstatus/netstatus_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/sysinfo/netstatus/netstatus_config.c b/src/modules/sysinfo/netstatus/netstatus_config.c
index 73776cbded..36aac0ceb5 100644
--- a/src/modules/sysinfo/netstatus/netstatus_config.c
+++ b/src/modules/sysinfo/netstatus/netstatus_config.c
@@ -305,7 +305,7 @@ netstatus_configure(Instance *inst)
elm_slider_indicator_format_set(slider, "%1.0f");
elm_slider_min_max_set(slider, 0, 1000);
elm_slider_value_set(slider, inst->cfg->netstatus.inmax);
- elm_slider_step_set(slider, 10);
+ elm_slider_step_set(slider, 0.05);
elm_slider_span_size_set(slider, 100);
evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);
@@ -358,7 +358,7 @@ netstatus_configure(Instance *inst)
elm_slider_indicator_format_set(slider, "%1.0f");
elm_slider_min_max_set(slider, 0, 1000);
elm_slider_value_set(slider, inst->cfg->netstatus.outmax);
- elm_slider_step_set(slider, 10);
+ elm_slider_step_set(slider, 0.05);
elm_slider_span_size_set(slider, 100);
evas_object_size_hint_align_set(slider, EVAS_HINT_FILL, 0.5);
evas_object_size_hint_weight_set(slider, EVAS_HINT_EXPAND, 0.0);