Skip to main content
added 328 characters in body
Source Link
kglr
  • 403.4k
  • 18
  • 501
  • 959

Update: Use the option DefaultOptions in Slider to change the ImageSize of InputField:

defaultoptions = {InputField ->  {BaseStyle -> style, ImageSize -> {{30, 100}, 36}}}; Row[{Style["Frequency "Style["Frequency", style], Framed[Slider[Dynamic[f], {f1, f2}, Appearance -> {"Labeled", "DownArrow"}, ImageSize -> {5 72, 0.5 72}, DefaultOptions -> defaultoptions]], Style["Hz", style]}, Spacer[1]] 

enter image description hereenter image description here

or

Row[Style[#, style] & /@ {"frequency", Framed @ Slider[Dynamic[f], {f1, f2}, Appearance -> {"Labeled", "DownArrow"}, ImageSize -> {5 72, 0.5 72}, DefaultOptions -> defaultoptions], "Hz"}, Spacer[1]] 

same picture

Original answer:

You can use Labeled or Panel using the second and third arguments to specify the labels and their positions:

Labeled[Slider[Dynamic[f], {f1, f2}], {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]}, {Left, Right}, LabelStyle -> style] 

enter image description here

Panel[Slider[Dynamic[f], {f1, f2}], {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]}, {Left, Right}, LabelStyle -> style] 

enter image description here

Update: Use the option DefaultOptions in Slider to change the ImageSize of InputField:

defaultoptions = {InputField ->  {BaseStyle -> style, ImageSize -> {{30, 100}, 36}}}; Row[{Style["Frequency ", style], Framed[Slider[Dynamic[f], {f1, f2}, Appearance -> {"Labeled", "DownArrow"}, ImageSize -> {5 72, 0.5 72}, DefaultOptions -> defaultoptions]], Style["Hz", style]}, Spacer[1]] 

enter image description here

Original answer:

You can use Labeled or Panel using the second and third arguments to specify the labels and their positions:

Labeled[Slider[Dynamic[f], {f1, f2}], {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]}, {Left, Right}, LabelStyle -> style] 

enter image description here

Panel[Slider[Dynamic[f], {f1, f2}], {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]}, {Left, Right}, LabelStyle -> style] 

enter image description here

Update: Use the option DefaultOptions in Slider to change the ImageSize of InputField:

defaultoptions = {InputField -> {BaseStyle -> style, ImageSize -> {{30, 100}, 36}}}; Row[{Style["Frequency", style], Framed[Slider[Dynamic[f], {f1, f2}, Appearance -> {"Labeled", "DownArrow"}, ImageSize -> {5 72, 0.5 72}, DefaultOptions -> defaultoptions]], Style["Hz", style]}, Spacer[1]] 

enter image description here

or

Row[Style[#, style] & /@ {"frequency", Framed @ Slider[Dynamic[f], {f1, f2}, Appearance -> {"Labeled", "DownArrow"}, ImageSize -> {5 72, 0.5 72}, DefaultOptions -> defaultoptions], "Hz"}, Spacer[1]] 

same picture

Original answer:

You can use Labeled or Panel using the second and third arguments to specify the labels and their positions:

Labeled[Slider[Dynamic[f], {f1, f2}], {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]}, {Left, Right}, LabelStyle -> style] 

enter image description here

Panel[Slider[Dynamic[f], {f1, f2}], {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]}, {Left, Right}, LabelStyle -> style] 

enter image description here

added 657 characters in body
Source Link
kglr
  • 403.4k
  • 18
  • 501
  • 959

Update: Use the option DefaultOptions in Slider to change the ImageSize of InputField:

defaultoptions = {InputField -> {BaseStyle -> style, ImageSize -> {{30, 100}, 36}}}; Row[{Style["Frequency ", style], Framed[Slider[Dynamic[f], {f1, f2}, Appearance -> {"Labeled", "DownArrow"}, ImageSize -> {5 72, 0.5 72}, DefaultOptions -> defaultoptions]], Style["Hz", style]}, Spacer[1]] 

enter image description here

Original answer:

You can use Labeled or Panel using the second and third arguments to specify the labels and their positions:

Labeled[Slider[Dynamic[f], {f1, f2}], {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]}, {Left, Right}, LabelStyle -> style] 

enter image description here

Panel[Slider[Dynamic[f], {f1, f2}], {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]}, {Left, Right}, LabelStyle -> style] 

enter image description here

You can use Labeled or Panel using the second and third arguments to specify the labels and their positions:

Labeled[Slider[Dynamic[f], {f1, f2}], {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]}, {Left, Right}, LabelStyle -> style] 

enter image description here

Panel[Slider[Dynamic[f], {f1, f2}], {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]}, {Left, Right}, LabelStyle -> style] 

enter image description here

Update: Use the option DefaultOptions in Slider to change the ImageSize of InputField:

defaultoptions = {InputField -> {BaseStyle -> style, ImageSize -> {{30, 100}, 36}}}; Row[{Style["Frequency ", style], Framed[Slider[Dynamic[f], {f1, f2}, Appearance -> {"Labeled", "DownArrow"}, ImageSize -> {5 72, 0.5 72}, DefaultOptions -> defaultoptions]], Style["Hz", style]}, Spacer[1]] 

enter image description here

Original answer:

You can use Labeled or Panel using the second and third arguments to specify the labels and their positions:

Labeled[Slider[Dynamic[f], {f1, f2}], {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]}, {Left, Right}, LabelStyle -> style] 

enter image description here

Panel[Slider[Dynamic[f], {f1, f2}], {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]}, {Left, Right}, LabelStyle -> style] 

enter image description here

added 18 characters in body
Source Link
kglr
  • 403.4k
  • 18
  • 501
  • 959

You can use Labeled or Panel using the second and third arguments to specify the labels and their positions:

Labeled[Slider[Dynamic[f], {f1, f2}], Style[#, style] & /@ {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]}, {Left, Right}], LabelStyle -> style] 

enter image description here

Panel[Slider[Dynamic[f], {f1, f2}], Style[#, style] & /@ {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]},  {Left, Right}], LabelStyle -> style] 

enter image description here

You can use Labeled or Panel using the second and third arguments to specify the labels and their positions:

Labeled[Slider[Dynamic[f], {f1, f2}], Style[#, style] & /@ {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]}, {Left, Right}] 

enter image description here

Panel[Slider[Dynamic[f], {f1, f2}], Style[#, style] & /@ {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]}, {Left, Right}] 

enter image description here

You can use Labeled or Panel using the second and third arguments to specify the labels and their positions:

Labeled[Slider[Dynamic[f], {f1, f2}], {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]}, {Left, Right}, LabelStyle -> style] 

enter image description here

Panel[Slider[Dynamic[f], {f1, f2}], {"frequency", Row[{Dynamic[f], "Hz"}, Spacer[2]]},  {Left, Right}, LabelStyle -> style] 

enter image description here

added 462 characters in body
Source Link
kglr
  • 403.4k
  • 18
  • 501
  • 959
Loading
Source Link
kglr
  • 403.4k
  • 18
  • 501
  • 959
Loading