Attract-Mode Support Forum
Attract-Mode Support => Themes => Topic started by: glaysonmestre on March 10, 2021, 05:51:07 PM
-
i'm venturing to create a layout i chose nevato as a base i don't know much about programming, i wanted to know how to change the position of this snap screen i would like to move it a little more to the right, i already learned how to remove the inclination hers.
-
https://github.com/mickelson/attract/blob/master/Layouts.md#Text
I don't have the Nevato theme on my system, so I can't provide specifics, but I can give you some general guidance. Somewhere in that layout file there will probably be something that looks similar to this:
local snap = fe.add_artwork( "snap", x, y, w, h )
You'll need to change the x value to move the snap further to the right. x might be a number, or a variable defined somewhere else in the layout file. It's possible that the image is contained in a surface. If its in a surface you will probably need to move the surface to the right instead. You'll know it's in a surface if you see something like:
local snap = name_of_the_surface.add_artwork("snap", x,y,w,h)
-
work , thanks now I can edit almost everything, thank you very much ;D
-
Cool!