# Slider Size Problem

Consider this simple code

Slider[0.5, ImageSize -> {Automatic, 50}]


We get

But if we add another option

Slider[0.5, ImageSize -> {Automatic, 50}, Appearance -> "DownArrow"]


The slider shrinks.

Is this a bug or the way the option works?

I use Mathematica 10.2 on Windows 10 64bit.

• You should add your operating system, because on Linux this does not appear at all. My sliders don't even look blue. See here – halirutan Aug 21 '15 at 3:03
• Windows 10 64bit – Deco Aug 21 '15 at 3:06
• Well, you could have edited your question yourself :-) I included it. – halirutan Aug 21 '15 at 3:07

This is not an answer. I can't give one as I have no access to Windows. However, it describes an experiment that I think might cast some light on how each of your options is affecting the rendering of a slider.

When I run into a problem with the space allocated to a control, I find it useful to experiment with variations that have a frame drawn around each control. This gives me a better visual assessment of the problem. So to investigate your problem, I built a grid of framed sliders with the relevant option variations.

Grid[
Map[
Column[{Row[#, ", "], Framed @ Slider[0.5, Sequence @@ #]}] &,
{{{},
{Appearance -> "DownArrow"}},
{{ImageSize -> {Automatic, 50}},
{Appearance -> "DownArrow", ImageSize -> {Automatic, 50}}}},
{2}],
Alignment -> {{Right, Left}, {Bottom, Top}},
Spacings -> {1, 2}]


I am running V10.2 on OS X, and on my system the above code gives

I conclude that

1. Changing the appearance of the slider thumb has only a slight effect on the height of the thumb and, thus, on the height of the allocated space.
2. The ImageSize option has no effect on the height of the slider thumb

These conclusions only apply to OS X and maybe only the specific version of OS X I am running. I suggest that you run my experiment or a similar one on your system and see if your results differ.

• On Windows m_goldberg's experiment shows that ImageSize has a profound effect on the Slider without DownArrow and no effect on the Slider with DownArrow – Jack LaVigne Aug 22 '15 at 13:38
• @JackLaVigne. I'm glad you tried it out on Windows. Now the question is: is it a Window's bug or a Window's feature? – m_goldberg Aug 22 '15 at 13:55
• I start to believe this is a bug – Deco Aug 25 '15 at 3:00