mirror of
https://github.com/Insality/druid
synced 2025-06-27 10:27:48 +02:00
Update wrong links in documentation
This commit is contained in:
parent
5d4039da4f
commit
2c083f6a71
@ -50,7 +50,7 @@ The most components have their styles. You can explore it on [Druid API](https:/
|
|||||||
|
|
||||||
To create you style, create lua module, what return <_component_name_, _component_style_> table
|
To create you style, create lua module, what return <_component_name_, _component_style_> table
|
||||||
|
|
||||||
Example: [default druid style](styles/default/style.lua)
|
Example: [default druid style](/druid/styles/default/style.lua)
|
||||||
|
|
||||||
Override all fields you want and set your style with one of next ways:
|
Override all fields you want and set your style with one of next ways:
|
||||||
|
|
||||||
|
@ -87,7 +87,7 @@ M["scroll"] = {
|
|||||||
WHEEL_SCROLL_SPEED = 0, -- Amount of pixels to scroll by one wheel event (0 to disable)
|
WHEEL_SCROLL_SPEED = 0, -- Amount of pixels to scroll by one wheel event (0 to disable)
|
||||||
WHEEL_SCROLL_INVERTED = false, -- Boolean to invert wheel scroll side
|
WHEEL_SCROLL_INVERTED = false, -- Boolean to invert wheel scroll side
|
||||||
WHEEL_SCROLL_BY_INERTION = false, -- If true, wheel will add inertion to scroll. Direct set position otherwise.
|
WHEEL_SCROLL_BY_INERTION = false, -- If true, wheel will add inertion to scroll. Direct set position otherwise.
|
||||||
SMALL_CONTENT_SCROLL = true, -- If true, content node with size less than view node size can be scrolled
|
SMALL_CONTENT_SCROLL = false, -- If true, content node with size less than view node size can be scrolled
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -196,7 +196,7 @@ local function init_lobby(self)
|
|||||||
self.lobby_grid:add(get_button(self, "With component", "data_list_with_component", "/data_list/with_component/with_component.gui_script"))
|
self.lobby_grid:add(get_button(self, "With component", "data_list_with_component", "/data_list/with_component/with_component.gui_script"))
|
||||||
|
|
||||||
self.lobby_grid:add(get_title(self, "Layouts"))
|
self.lobby_grid:add(get_title(self, "Layouts"))
|
||||||
self.lobby_grid:add(get_button(self, "Layout fit", "layout_fit", "/custom/layout_fit/layout_fit.gui_script"))
|
self.lobby_grid:add(get_button(self, "Layout fit", "layout_fit", "/custom/layout/layout_fit/layout_fit.gui_script"))
|
||||||
|
|
||||||
self.lobby_grid:add(get_title(self, "Custom components"))
|
self.lobby_grid:add(get_title(self, "Custom components"))
|
||||||
self.lobby_grid:add(get_button(self, "Rich Input", "custom_rich_input", "/custom/rich_input/rich_input.gui_script"))
|
self.lobby_grid:add(get_button(self, "Rich Input", "custom_rich_input", "/custom/rich_input/rich_input.gui_script"))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user