How to control slider value font size?
How to control slider value font size?
I want to display a slider control in Manipulate that shows the current value. Of course, I could display the value in a separate field and style it however I want.
But I think it should be possible directly in the slider or manipulator control.
My problem is that I can’t control the overall size of the control and the font size of the value at the same time. Probably it could be done with the Appearance option, but I don’t know how.
But I think it should be possible directly in the slider or manipulator control.
My problem is that I can’t control the overall size of the control and the font size of the value at the same time. Probably it could be done with the Appearance option, but I don’t know how.
In[]:=
(*Sliderwith"Labeled"hasagoodvaluefontsize,butgetsfartoolarge*)Manipulate[x,Item[Framed@Control[{{x,0.25,"I am x:"},-1,1,0.05,Slider,Appearance->"Labeled",ImageSize->Small}],ControlPlacement->Left],LabelStyle->{FontSize->14}]
Out[]=
In[]:=
(*AnalternativewithManipulator.Nowgoodoverallsizeandcontrolelements,butunreadablesmallvaluefontsize*)Manipulate[x,Item[Framed@Control[{{x,0.25,"I am x:"},-1,1,0.05,Manipulator,Appearance->"Labeled",ImageSize->Small}],ControlPlacement->Left],LabelStyle->{FontSize->14}]
Out[]=
In[]:=
(*AnalternativewithManipulatorandopencontrolelements*)Manipulate[x,Item[Framed@Control[{{x,0.25,"I am x:"},-1,1,0.05,Manipulator,Appearance->"Open",ImageSize->Small}],ControlPlacement->Left],LabelStyle->{FontSize->14}]
Out[]=


