Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
- Ability to resize windows (as a client)
- Window elements scale with resizing (such as text can get bigger if the window is bigger), this would be good as an option for modders, perhaps certain menus can benefit from such behavior.
And I can't make text bigger if the window is bigger. That an issue with the game. It is known that for high resolution menus are small. But I can't do anything about it. Again, that would be add lot's of problems. I may add a zoom variable to the text element to be able to magnify it. It was planned at the beginning but I forgot
How about Pressing TAB to switch to the next editable container in the same window?
I have multiple text insertion lines and have to manually click
https://i.imgur.com/HmkQ6ku.png
local t_UI = NewUI();
t_UI:setDrawFrame(false);
t_UI:setBorderToAllElements(false);
I used this to disable the frame of the UI!
However, I could still grab the empty space where the frame would be and drag the UI around.
It's fixable with:
local function t_FakeFunction ()
end;
t_UI.onMouseDown = t_FakeFunction;
I think you should also include how to add a tooltip to buttons in the github tutorial.
Because a tooltip is one of the greatest way to have small UI with lots of information (such as vanilla moodles or vanilla inventory)
Example:
t_UI:addImageButton("image1", "media/ui/a_LootingSucksMod_Moodle_3.png", t_TestFunction)
local t_MoodleButton = t_UI["image1"];
t_MoodleButton:setTooltip("Test");
Another thing that would bve cool to have in this library would be a standardized UI size option in the options somewhere.
Such as having a clientside option to change UI scale, because for example vanilla moodles, I think they are purely based on the screen size.
It would be good to have a standard set of options that can be applied to the UI created in this framework, so clients have better readability
https://i.imgur.com/REY2cOv.png
I send you an invite on steam.
I don't want to do an update of this mod only for that because it would bother people that use it for other mod.
But I can give you an updated version only for you so you can add a function to the progress bar class to do it. It's pretty easy (~4 lines of code)