Coder Social home page Coder Social logo

materiallua's Introduction

MaterialLua

A material design library, designed for use in Roblox.

Discord

Balance

Documentation Site

MLDocs

materiallua's People

Contributors

1333481 avatar akinlei avatar chrisvanchip avatar kinlei avatar stefanuk12 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

materiallua's Issues

Feature Request

Is your feature request related to a problem? Please describe.
There doesn't seem to be an in-built toggle ui option for fully hiding the ui.

Describe the solution you'd like
A keybind option, and a toggle function for it.

Describe alternatives you've considered
I've considered leaving a functionless button to act as a label to just tell the user they keybind i would hard code into the script

Additional context
A rebindable keybind such as in Venyx UI Lib would be amazing.

Usage of compound operators breaks the library on some exploits

When I wrote the documentation for this library, everything was working fine because I used Synapse X. Today I tried to use Sentinel, and an error message appeared. After pasting the script directly into the executor, I got the following error message:

[string "local Player = game.Players.LocalPlayer..."]:468: '=' expected near '+'

The issue which causes this error is found on Line 468:

-- Line 468
Total += (typeof(Value) == "function") and 1 or 0

The += operator is used 10 more times within the script at these locations:

  • Line 683
  • Line 1004
  • Line 1186
  • Line 1297
  • Line 1415
  • Line 1542
  • Line 1726
  • Line 1730
  • Line 1789
  • Line 1793

The usage of compound operators is understandable since Roblox introduced them in build 435 (see here), but not all exploits appear to have updated their standards to make the compound operators work. I would recommend testing the library on exploits beside Sentinel and Synapse to see if this issue impacts other major exploits and if so, use normal arithmetic statements for proper compatibility.

Dropdown pre-selection

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
A way to define a pre-selected dropdown menu item.

Describe alternatives you've considered
I cant seem to figure out anyway to do this as I cant figure out how to manipulate the UI to do what I want it to do.

Additional context
Pre-pick and display one of the options in the dropdown list.

Documentation site down

Describe the bug
When you try to access the documentation website it states that "This site can't be reached" with the error ERR_NAME_NOT_RESOLVED.

To Reproduce
Steps to reproduce the behavior:

  1. Go to documentation website on the README
  2. See that it is unreachable

Expected behavior
You should be able to reach and access the documentation website without an error.

Screenshots
Screenshot_20240228-014827

Smartphone (please complete the following information):

  • Device: Google Pixel 8 Pro
  • OS: Android 14
  • Browser: Stock browser (Chrome)
  • Version: 122.0.6261.64

Additional context
This issue occurs on my laptop too.

Materiallua returns

How do I set the text of my toggle or the options of my dropdown table within the callback?

Type!!!

when I type

Z.TextField([

Text = "Name",
Type = "Password",
Callback = function(value)
print(value)
end
)]

nothing shows up!!!

Having problems with toggles

So i usually used wally v3 ui lib, and toggles were fine, but how do I return the state of toggle?

Basically I just want it so that if its switched on it will return true and run the true script, and if its off it will return false and return the false script.

Kinda confused whilst reading the documentation, thanks

UI.Object:SetText(Text)

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
A way to change the text of any UI element, buttons for instance (If there is already a way then more precise documentation of it as I cant figure out how to do it)

Describe alternatives you've considered
I've tried many things but cant get anything to work (How does one manipulate the UI once it is created using your example script?)

Additional context
You have:

local X = Material.Load({
Title = "ChibuHub",
Style = 3,
SizeX = 500,
SizeY = 350,
Theme = "Light",
ColorOverrides = {
MainFrame = Color3.fromRGB(235,235,235)
}
})

local Y = X.New({
Title = "Menu one"
})

local A = Y.Button({
Text = "Kill All",
Callback = function()
print("hello")
end,
Menu = {
Information = function(self)
X.Banner({
Text = "This function can get you banned in up-to-date servers; use at your own risk."
})
end
}
})

But I wanna change the text of A when the button is clicked. I looked through documentation and under returns there is a SetText() and GetText() but no explanation of how to use them. I tried A:SetText("NewText") but doesn't work.

Pop up selection UI

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
A new function to create a temporary UI popup like the main UI but with its own UI elements.

Describe alternatives you've considered
Constructing my own but the design is all wrong and ugly.

Additional context
The thing I am working on entails selecting a storage container having a UI pop up with all the resources you can put in that container and upon selecting one the UI goes away.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.