question

Borja Lorenzo avatar image
0 Likes"
Borja Lorenzo asked Logan Gold answered

How to configure the appearance of a GUI

Hello

I would like to implement better visual interpretation in my GUI. Is there any way to insert lines, highlight areas with a different color, or any other tool that allows for a visual break by button type? Or simply horizontal lines that make it easier to identify and link which text label corresponds to each button.


My GUI currently looks like this.

1729601634242.png

Thanks in advance.


FlexSim 24.1.1
guicustom guivisualization
1729601634242.png (44.6 KiB)
5 |100000

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

1 Answer

Logan Gold avatar image
1 Like"
Logan Gold answered

Hey @Borja Lorenzo, sorry for the delay in getting back to you. There are few ways I have found that can help you better visualize things in the GUI Builder.

First, you can always separate/group together controls using a groupbox or a panel. Both allow you to create boxes in whatever size you want and include other controls inside those boxes. The groupbox is pretty simple and the panel allows for more customization. You can see some information about both controls in the documentation about GUIs in the Additional View Attributes Reference section.

One of the customizations for panels is the color attribute. You can see how to use this attribute in the Panel section of the above link.

Also in the above link, under the General Attributes section, it says you can use the color attribute for Windows Common Controls to define the text color of the control. The Windows Common Controls are identified near the top of the page.

And while not as elegant, you can always extend your text boxes so they reach their corresponding button and then add text like a dash (-) or underline (_) to form a makeshift line between the text and button.

5 |100000

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