forked from bevyengine/bevy
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cosmetic improvements for
text_input
example (bevyengine#15016)
# Objective Minor cosmetic improvements and code cleanup for this example ## Solution - Use the default font and shorter constructor where the the full font is not needed - Use 12px padding for instruction text to match other examples - Clean up formatting of instruction text - Fix one instance of a font handle not being reused <details> <summary>Before / After</summary> *Question mark boxes are expected. We don't include a font with the glyphs I'm testing the IME with* <img width="1280" alt="Screenshot 2024-09-02 at 11 14 17 AM" src="https://github.com/user-attachments/assets/e0a904a3-c01b-4c18-b71f-41fbc1d09169"> <img width="1280" alt="Screenshot 2024-09-02 at 11 13 14 AM" src="https://github.com/user-attachments/assets/4b2a2d31-6b9f-4b9a-a245-4258a6aa9519"> </details> ## Testing Tested all functionality of the example (macOS)
- Loading branch information
Showing
1 changed file
with
18 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters