Nothing Special   »   [go: up one dir, main page]

Skip to content

Releases: ufukseyithan/ui-framework

Background Update & Restructuring

17 Jan 17:01
bbd539c
Compare
Choose a tag to compare
  • Increased Text limit from 50 to 200 and revised the related error message.
  • Button background position now repositions as well when the object's position is changed.
  • Included a library made by http://www.unrealsoftware.de/profile.php?userid=5537 which helps UI Framework to get the width of a text in order to generate auto-sized backgrounds for Text and Button objects. This can be disabled in config.lua which then Text objects can no longer have a background and Button objects can no longer have an auto-sized background.
  • Changed background style property structure to have more features with auto-sizing and named the keys: {color = {<r>, <g>, <b>}, alpha = <alpha>, padding = <padding>}. padding only works with a Text object. (See Article #3).
  • Button objects can now have auto-sized backgrounds if width parameter is set to true, along with the possibility of padding specified on height parameter.
  • Fixed a misspelling made on a Config variable name: showConsoleInputs > consoleOutputs.
  • Revised the comments in config.lua.
  • Attempted to make the structure more organized.