MT-CTF / capturetheflag

Capture the Flag game using the Minetest Voxel Engine
https://ctf.rubenwardy.com
81 stars 87 forks source link

Improve settings GUI #1238

Closed a-blob closed 8 months ago

a-blob commented 9 months ago

Improve the settings GUI so texts are no longer cut-off like this: image

I also made the settings take the full inventory since I don't think anyone needs to view their inventory while using settings. Doing this also prevents users from getting through the trouble of scrolling through the settings inventory and accidentally modifying options with the scrollwheel. image

src4026 commented 9 months ago

In case, if one happens to put a long enough text as a setting, would it still cut off?

a-blob commented 9 months ago

In case, if one happens to put a long enough text as a setting, would it still cut off?

Yes. There are solutions though, like adding a new line or adding a horizontal scrollbar.

src4026 commented 9 months ago

Yes. There are solutions though, like adding a new line or adding a horizontal scrollbar.

New lines would be temporary and not applicable to all, the scrollbar sounds better. Wrapping text could be another way if possible.

a-blob commented 9 months ago

Wrapping text is not possible here AFAIK, unless you wrap it manually with \n.