如何控制机器人输入字段中的字体外观?

Mik*_*rch 8 wolfram-mathematica

在这里我做的第一个问题是制作可能微不足道的东西而道歉但我刚才意识到我不知道如何在Manipulator控件的输入字段中设置字体样式.此功能的所有选项都不适用于输入字段(AFAIK)中的样式.我想知道输入字段选项是否有效:

Style[Manipulator[0.5, Appearance -> {"Open", Tiny}], 
 DefaultOptions -> {InputField -> {BaseStyle -> Directive[Red, 16]}}]
Run Code Online (Sandbox Code Playgroud)

Mathematica图形

但事实并非如此.我假设这是微不足道的,但它让我难过.

编辑

我尝试过使用本地机器人风格

Cell[StyleData["Manipulator"],
 ShowStringCharacters->False,
 NumberMarks->False,
 FontFamily:>CurrentValue["PanelFontFamily"],
 FontSize->24,
 FontColor->RGBColor[1,0,0],
 FontWeight->"Bold"]
Run Code Online (Sandbox Code Playgroud)

Mathematica图形

这是改变字体颜色和重量(我不希望在我的应用程序中更改这些,只测试哪些有效,哪些无效)但仍然没有改变字体大小.如果这个样式表解决方案有效,我想现在已经足够了,但最终我希望在Manipulate中有一个很小的操纵器:

{{x, 40, "Hello World"}, 20, 100, 5, Appearance -> "Open", 
AppearanceElements -> {"InputField", "StepLeftButton", "StepRightButton",    
                        "HideControlsButton"}, ImageSize -> Tiny}
Run Code Online (Sandbox Code Playgroud)

但在输入字段中使用非小字体,并通过直接编码实现此目的.

Mr.*_*ard 3

我知道改变字段中文本大小的唯一方法是用 击中整个文本Magnification。使用上面西蒙的指导来做到这一点Style

Style[
  Manipulator[0.5, Appearance -> {"Open", Tiny}], 
  DynamicBoxOptions -> {BaseStyle -> Magnification -> 2}
]
Run Code Online (Sandbox Code Playgroud)

数学图形