Jump to content

Cant close UI

Not a Bug 3.2.0

Gidys
Gidys

Posted

Hello i cant close the UI i think there is colision between the GUI plugin i am using and your statistics could it be possible to either not make it full screen with tiny x to close it or make it work like other plugins that you press ESC or click somewhere else and the UI closes?

All my players complain they need to restart the game just to close the statistics at which point i would rather stop using it. Thank you

Rust 06.08.2024 23_43_36.png

DeutscherRitterPlatz

Posted (edited)


I'll help you directly with your problem, so the developer doesn't need to release a fix for it, as they can't account for every plugin anyway. ^^


Open the plugin with Notepad++ and search for:

new CuiRawImageComponent { Color = "1 1 1 1", Png = _imageUI.GetImage("14") },

Then replace:

new CuiRectTransformComponent { AnchorMin = "1 1", AnchorMax = "1 1", OffsetMin = "-115.354 -36.798", OffsetMax = "-105.246 -27.942" }

with:

new CuiRectTransformComponent { AnchorMin = "1 1", AnchorMax = "1 1", OffsetMin = "-505.354 -76.798", OffsetMax = "-485.246 -67.942" }

This way, the close button is located directly next to the search.

Screenshot_106.png.76b32c885b86fd37a6d2774e1e143c24.png

Edited by DeutscherRitterPlatz
  • Love 2
DezLife

Posted

Changed Status from Pending to Not a Bug

Gidys

Posted

On 9/9/2024 at 4:12 PM, DeutscherRitterPlatz said:


I'll help you directly with your problem, so the developer doesn't need to release a fix for it, as they can't account for every plugin anyway. ^^


Open the plugin with Notepad++ and search for:

new CuiRawImageComponent { Color = "1 1 1 1", Png = _imageUI.GetImage("14") },

Then replace:

new CuiRectTransformComponent { AnchorMin = "1 1", AnchorMax = "1 1", OffsetMin = "-115.354 -36.798", OffsetMax = "-105.246 -27.942" }

with:

new CuiRectTransformComponent { AnchorMin = "1 1", AnchorMax = "1 1", OffsetMin = "-505.354 -76.798", OffsetMax = "-485.246 -67.942" }

This way, the close button is located directly next to the search.

Screenshot_106.png.76b32c885b86fd37a6d2774e1e143c24.png

Hey thank you so much i really appreciate your help! I know its very hard but i genuinely didn't know how to fix this and the only way for me was to ask or discuss the options

  • Love 1
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.