Ventoy Forums
How to center align viewbox? - Printable Version

+- Ventoy Forums (https://forums.ventoy.net)
+-- Forum: Ventoy Plugin —— Ventoy 插件 (https://forums.ventoy.net/forumdisplay.php?fid=3)
+--- Forum: Ventoy Plugin Forum (https://forums.ventoy.net/forumdisplay.php?fid=4)
+--- Thread: How to center align viewbox? (/showthread.php?tid=2602)



How to center align viewbox? - rahaaatul - 07-31-2023

[attachment=817]

Always to the right, how do i make it automatically align to center along with other elements too?

This is the theme.txt file > [attachment=816]

This is a Graphite GTK Theme.

My screen size is 1366x768.


RE: How to center align viewbox? - AlexBryansk - 07-31-2023

Read http://wiki.rosalab.ru/en/index.php/Grub2_theme_tutorial

image:
If image's height is less than defined height, then defined height will be set to the image's real height. The same works for the image's width.
If defined width or height are greater than image's real width or height (correspondingly) then the image will be stretched to the defined size.

viewbox.png - make the resolution smaller