Right now I am troubled using this website CUI EDITOR
Either it's giving me the wrong anchor min or max, or IDK how to use it.
Is there another way of getting anchors and offsets for CUI?
Is there any helpful documentation for Rust CUI?
Right now I am troubled using this website CUI EDITOR
Either it's giving me the wrong anchor min or max, or IDK how to use it.
Is there another way of getting anchors and offsets for CUI?
Is there any helpful documentation for Rust CUI?
AnchorMin = "0.1 0.1" x will start 0.1 from left and y will start 0.1 from bottom
for AnchorMax = "0.9 0.9" x will be from the AnchorMin( 0.1 ) to the AnchorMax( 0.9 ) and y as well
Idk if you understand how I mean that 😁
Don't really know about any documentation probably try to find any plugin that uses CUI and learn from it
My description 🤣
// AnchorMin = ScreenLeft to LeftGui, ScreenBottom to BottomGui
// AnchorMax = ScreenLeft to RightGui, ScreenBottom to TopGui
the values are in percentages of screen. So thinking "I want my gui to start 10% of the way into the screen from the left, and finish 90% of the way into the screen" will give you 10% of the screen at either side of your gui.
AnchorMin = "0.1 0.1"
AnchorMax = "0.9 0.9"
Also, the website is pretty rubbish, but it's one of the only builders out there so hardly much choice. Another option is CuiBuilder by Bazooka5801, but that also has many of its own flaws too.
The percentages you use in AnchorMin and AnchorMax are also based on the components parent. If you put a button inside of a panel, it's percentages will be based on that parent panels size, not the whole screen.