Hiding panels

Use this board to ask questions or have discussions with other Rich Displays users.
Post Reply
SDeanD
Profound User
Posts: 28
Joined: Thu Dec 12, 2013 11:34 pm
First Name: Dean
Last Name: ****
Company Name: RESD LLC
Phone: 812244-0647
Address 1: 1620 S 7th
City: Terre Haute
State / Province: Indiana
Zip / Postal Code: 47802
Country: United States
Contact:

Hiding panels

Post by SDeanD »

Is there a method to hide a panel. ( like the migrated Function key panel) and auto justify the screen to use the display area? like many GUI apps do today.

thanks,
Dean
S Dean ****
CEO
R & E Software Design LLC.
IBM Business Partner since 1988
Scott Klement
Experienced User
Posts: 2711
Joined: Wed Aug 01, 2012 8:58 am
First Name: Scott
Last Name: Klement
Company Name: Profound Logic
City: Milwaukee
State / Province: Wisconsin

Re: Hiding panels

Post by Scott Klement »

Panels (like all widgets) can be hidden by setting their visibility property to "hidden". That makes the most sense to do if you want it hidden/unhidden at different times, the program can change the visibility as needed. If you never want to see the panel, just remove it.

With regards to making a display that expands/shrinks to the display area, that's harder to explain. This isn't something that magically happens... displays that work that way are designed to work that way when they are built.

We have layout widgets that can be set to a percentage size, and can divide the screen up into sections. Each section expands/shrinks when the screen size expands/shrinks. Using that, and positioning/sizing other widgets based on percentages, or anchoring them to the left/right allows you to design a screen that adjusts to different display sizes. There are also tools in the Visual Designer that let you design and preview your screen in different canvas sizes so you can see that it correctly expands/shrinks.

That's about as well as I can explain it in a forum post -- admittedly, it is just an overview.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests