This article applies to Mistika Ultima and Mistika Boutique. 


Note: This is an unsupported procedure based on setting up some "Environment Variables" of the Operating System.  Normally it works well but it may fail to work in certain operating system versions (or in future Mistika versions once newer tools are added to manipulate the GUI directly).


Introduction:


By default, Mistika will use one display at full screen, or two displays full screen when MistikaConfig->Interface->TwoMonitors is active (one monitor for the Timeline, and one monitor for the Visual Editor/Browser).


At the date of this document Mistika Ultima and Mistika Boutique run directly in the GPU at full screen, and the Mistika GUI does not provide the typical window borders of other applications to limit their size (this is work in progress for future versions...).  But the fact is that it is already possible to limit the width and heigh of both the left and right parts of the Mistika GUI by setting up some "environmental variables" in the operating system. 


Examples:


1 - When you have a big single physical display capable of 3840x1080 or higher resolution, and you want to squeeze the traditional Mistika dual monitor GUI (Timeline + Visual Editor) into the single physical display (for example an Ultra Wide or Super Wide display, or when using an UHD TV for the GUI).


Please note that the absolute minimun for each Mistika GUI side is 1920x1080, so if you plan to display the two Mistika GUI monitors side by side into a single physical display then it needs to be at least double that resolution (3084x1080 resolution or higher). Do not use this procedure for having a dual GUI in a display of lower resolution (otherwise several GUI panels will be clipped)


2 - Another example is when you want to limit the horizontal or vertical resolution used by the Mistika GUI, for example to share the display with another application at the same time



Example: Dual Mistika GUI in a single 5120x1440 ultra wide display.


This example is for creating a particular layout to display both Mistika GUI monitors (Timeline + Visual Editor) in a single ultra wide monitor capable of 5120x1440 resolution.  But a similar procedure could be used for any other cases of your interest.


In this example we want to dedicate half of the horizontal resolution of the physical display for the left part of the Mistika GUI. (Timeline), and the other half for the right part (Visual Editor).  Which means that the horizontal resolution for each part needs to be limited to:


5120 / 2 = 2560


Meanwhile, we do not want to limit the vertical resolution of the GUI at all, as we want it to cover the full height of the display (1440 lines).  So  we need to define these four environment variables: 


MISTIKA_SCREEN_WIDTH_L  = 2560  

MISTIKA_SCREEN_HEIGHT_L = 1440

MISTIKA_SCREEN_HEIGHT_R = 2560

MISTIKA_SCREEN_WIDTH_R  = 1440


In that way, Mistika will put both GUI areas side by side on the same display.


To define the environment variables:


Windows:


- Click on the search bar and type: Environment Variables

- Open the "Edit the system environment variables" menu that will appear

- Click on "Environment Variables"

- Use the "New" button to create the above variables one by one.


Linux:


- Mistika Ulima provides a specialized tool MistikaConfig->Interface->Limit/Recover GUI resolution...


macOS:


- It depends on the macOS version and user configuration, check Apple documentation & support.



Once defined, make sure that MistikaConfig->Interface->TwoMonitors is active and open Mistika.