question

Steven Chen avatar image
1 Like"
Steven Chen asked Claire Krupp commented

Change font type in GUI

I can't find the function.

I currently want to modify the font size of the GUI. I found the " viewfont " command, but I didn't see it in the GUI. Is there any alternative?

FlexSim 20.2.0
flexsim 20.2.0guifont
image01.png (20.0 KiB)
· 1
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Ben Wilson avatar image Ben Wilson ♦♦ commented ·

Hi @steven.chen, was phil.bobo's answer helpful? If so, please click the red "Accept" button on their answer. Or if you still have questions, add a comment and we'll continue the conversation.

0 Likes 0 ·

1 Answer

·
Phil BoBo avatar image
0 Likes"
Phil BoBo answered Claire Krupp commented

The viewfont attribute doesn't change the size of all of FlexSim GUIs. The viewfont attribute changes the size of a particular Static Text field in your own custom GUI.

You add it to your own GUIs using the GUI Builder.


1597069391806.png (137.0 KiB)
· 4
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Claire Krupp avatar image Claire Krupp commented ·

@Phil BoBo I am trying to add the viewfont attribute to a static field but it seems to be missing from the menu.......


1636066013528.png

0 Likes 0 ·
1636066013528.png (33.9 KiB)
Phil BoBo avatar image Phil BoBo ♦♦ Claire Krupp commented ·
Then don't use the menu. Just add a node to the tree and type in "viewfont" as the name.
0 Likes 0 ·
Claire Krupp avatar image Claire Krupp Phil BoBo ♦♦ commented ·
It worked. Thank you!
1 Like 1 ·
Show more comments

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.