Help Struggling With UI Button

Mu online season 21 - grand opening

StevieLCFC

LOMCN Veteran
Veteran
Aug 27, 2006
354
19
45
Hoping i can word this right :D

Im in the process of changing the UI Loginscene.cs and its actually going really wel, Ive changed the images and locations are sorted but i found this cancel button and im struggling to find where to edit that exact button as Image 203 in title.Lib shares 203 quite alot :S

is there anyone who might know where the X, Y positions are for this button please

Thanks
 

Attachments

  • Screenshot 2025-12-05 221427.png
    Screenshot 2025-12-05 221427.png
    112.9 KB · Views: 38

StevieLCFC

LOMCN Veteran
Veteran
Aug 27, 2006
354
19
45
If you know it’s in Title lib and it’s number is 203 then you should be able to find

C#:
Index = 203,
Library = Libraries.Title
yea i got that but i was looking for a pointer towards the cancel button position snipet, just thought id ask here as i had looked but there was multiple references and X Y positions i suppose i will test each one and see what happens
 
Upvote 0

StevieLCFC

LOMCN Veteran
Veteran
Aug 27, 2006
354
19
45
Is it not this?

C#:
CancelButton = new MirButton
                {
                    HoverIndex = 204,
                    Index = 203,
                    Library = Libraries.Title,
                    Location = new Point(409, 425),
                    Parent = this,
                    PressedIndex = 205
                };
very grateful this helps a great deal, it took me 4/5 hours doing just the login scene bit, made so many backups and had millions of tabs open but i got there

Update:
Found the missing button after searching " Index = 203," and came across snippet i needed in MirMessageBox.cs, Not sure why i didnt search this before but never mind.
 
Last edited:
Upvote 0