Post

A feature that was added in v8.2 is the `position` type. It takes two arguments, an absolute and a relative value e.g. `position(1.0, -10)`. This can be used anywhere you'd normally use either a float or an integer, such as for `xpos` or `ysize`.

0 reposts4 likes

It adds the two together, so `xpos position(1.0, -10)` positions the item at 100% of the available space, -10 (e.g. if the available space was 1920, this would put the xpos at 1920-10 = 1910). Extremely useful for offsetting positions or sizes a bit from the edge or center without using `offset`.

Does it bother you that the Window button in the default preferences screen is never highlighted, even when the game is not fullscreen? This is a quirk of how that button action checks if it's selected - technically, it's only highlighted if the window is exactly the game dimensions (e.g. 1920x1080)