From 649ab783845b4e371b34e182fb6fae5e2574cb1d Mon Sep 17 00:00:00 2001 From: Yishay Weiss Date: Mon, 23 May 2022 10:06:42 +0300 Subject: [PATCH] Make slider button round --- .../src/main/royale/mx/controls/sliderClasses/Slider.as | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/sliderClasses/Slider.as b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/sliderClasses/Slider.as index 89d39736a0..70120c02da 100644 --- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/sliderClasses/Slider.as +++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/sliderClasses/Slider.as @@ -2105,6 +2105,13 @@ package mx.controls.sliderClasses thumb.thumbIndex = i; thumb.visible = true; thumb.enabled = enabled; + // default styles + thumb.height = 16; + thumb.width = 16; + COMPILE::JS + { + thumb.element.style.borderRadius = "50%"; + } //porting notes, removed this missing assignments, @todo review: /* thumb.upSkinName = "thumbUpSkin"; thumb.downSkinName = "thumbDownSkin";