mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Use our GUIButton in our GUIScrollBar
Note that GUIScrollBar needs an ISimpleTextureSource now due to button styling.
This commit is contained in:
parent
9d62abbe46
commit
91c0439922
8 changed files with 43 additions and 25 deletions
|
@ -66,7 +66,7 @@ GUITable::GUITable(gui::IGUIEnvironment *env,
|
|||
0,
|
||||
RelativeRect.getWidth(),
|
||||
RelativeRect.getHeight()),
|
||||
false, true);
|
||||
false, true, tsrc);
|
||||
m_scrollbar->setSubElement(true);
|
||||
m_scrollbar->setTabStop(false);
|
||||
m_scrollbar->setAlignment(gui::EGUIA_LOWERRIGHT, gui::EGUIA_LOWERRIGHT,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue