raylib: Improve close settings x button (#35677)

* update settings close text to use multiplication x character

* add todo

* fix: Add settings close text char to loaded glyphs

* refactor: Use font medium for settings close button text and remove font bold property; change font_)medium property to font_weight

* move close icon down a bit

* fix: offset settings close text in button to correct centering

* fix: remove horizontal offset

* refactor: it's actually a font, so rename back
This commit is contained in:
David
2025-07-11 03:21:06 -05:00
committed by GitHub
parent eb41875675
commit 989278dfe7
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -330,7 +330,7 @@ class GuiApplication:
for layout in KEYBOARD_LAYOUTS.values():
all_chars.update(key for row in layout for key in row)
all_chars = "".join(all_chars)
all_chars += "–✓°"
all_chars += "–✓×°"
codepoint_count = rl.ffi.new("int *", 1)
codepoints = rl.load_codepoints(all_chars, codepoint_count)