| EinhugurViewManager Xojo Class. |
|
EinhugurViewManager Class
A class to auto scale the user interface in a Xojo DesktopWindow or Xojo DesktopContainer.
This class was inspired by the popular RubberView kit for Xojo. Its author sadly passed away.
To use this class then drag the class onto your Window, then optionally set properties on it.
For a Window:In opening event add:
EinhugurViewManager1.Init(self)
You can also add optional special settings for some controls in the Opening event after calling Init:
EinhugurViewManager1.LockRatio(Oval1)
EinhugurViewManager1.LockRatio(Rectangle1)
For Resized event:
EinhugurViewManager1.SizeAll(self)
For Resizing event:
EinhugurViewManager1.SizeAll(self)
For container control it works the same exact you need to do one type case on the self in the events there:
EinhugurViewManager1.Init(DesktopContainer(self))
Object
EinhugurViewManager
class EinhugurViewManager
Constructors
Properties
Methods
Ignore | Adds ignore for a given container on your window or container control. |
Ignore | Adds ignore for a given control on your window or container control. |
Init | Inits the EinhugurViewManager class. |
Init | Inits the EinhugurViewManager class. |
LockRatio | Locks the ratio of a given container. |
LockRatio | Locks the ratio of a given control. |
NoHorizontalResize | Restricts container so it will not scale horizontally. |
NoHorizontalResize | Restricts control so it will not scale horizontally. |
NoResize | Restricts container so it will not scale. |
NoResize | Restricts control so it will not scale. |
NoVerticalResize | Restricts container so it will not scale vertically. |
NoVerticalResize | Restricts control so it will not scale vertically. |
SizeAll | Performs resize on the container content. |
SizeAll | Performs resize on the windows content. |
Supported Platforms:
macOS Intel 64 bitmacOS Apple SiliconWindows 32 bitWindows 64 bitWindows ARM 64 bitLinux 32 bitLinux 64 bitLinux ARM 32 bitLinux ARM 64 bit