From 94cc090f7340a0a085bf459985957e90bc7003b9 Mon Sep 17 00:00:00 2001 From: uramer Date: Mon, 21 Feb 2022 15:31:54 +0100 Subject: [PATCH] PR feedack for documentation --- docs/source/reference/lua-scripting/widgets/image.rst | 4 ++-- files/lua_api/openmw/ui.lua | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/source/reference/lua-scripting/widgets/image.rst b/docs/source/reference/lua-scripting/widgets/image.rst index cae8753d52..bd68687cfe 100644 --- a/docs/source/reference/lua-scripting/widgets/image.rst +++ b/docs/source/reference/lua-scripting/widgets/image.rst @@ -16,7 +16,7 @@ Properties - The texture resource to display * - tileH - boolean (false) - - Whether to tile the texture horizontally + - Tile the texture horizontally * - tileV - boolean (false) - - Whether to tile the texture vertically + - Tile the texture vertically diff --git a/files/lua_api/openmw/ui.lua b/files/lua_api/openmw/ui.lua index c9df230900..d8f7d865e1 100644 --- a/files/lua_api/openmw/ui.lua +++ b/files/lua_api/openmw/ui.lua @@ -60,7 +60,7 @@ -- @type SettingsPageOptions -- @field #string name Name of the page, displayed in the list, used for search -- @field #string searchHints Additional keywords used in search, not displayed anywhere --- @field #Element element The page's UI, which will be attached to the settings tab. The root widget has to have a fixed size (set `size` field in `props`, see Widget documentation, `relativeSize` is ignored) +-- @field #Element element The page's UI, which will be attached to the settings tab. The root widget has to have a fixed size. Set the `size` field in `props`, `relativeSize` is ignored. --- @@ -183,7 +183,7 @@ -- @type TextureResourceOptions -- @field #string path Path to the texture file. Required -- @field openmw.util#Vector2 offset Offset of this resource in the texture. (0, 0) by default --- @field openmw.util#Vector2 size Size of the resource in the texture. (0, 0) by default. +-- @field openmw.util#Vector2 size Size of the resource in the texture. (0, 0) by default. -- 0 means the whole texture size is used. return nil