File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
resources/views/docs/desktop/1/the-basics Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -394,6 +394,20 @@ Window::open()
394394
395395This is particularly useful for always-on-top utility windows or menubar applications that should not be visible in Mission Control.
396396
397+ ### Zoom factor
398+
399+ In certain cases, you may want to set a zoom factor for a window.
400+ This can be particularly helpful in cases where you have no control over the content displayed (e.g. when showing external websites).
401+ You may use the ` zoomFactor ` method to define a zoom factor.
402+
403+ ``` php
404+ Window::open()
405+ ->zoomFactor(1.25);
406+ ```
407+
408+ The zoom factor is the zoom percent divided by 100.
409+ This means that you need to pass the value ` 1.25 ` if you want the window to be displayed at 125% size.
410+
397411## Window Title Styles
398412
399413### Default Title Style
You can’t perform that action at this time.
0 commit comments