Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculate the text alignment offset #6724

Closed
wants to merge 22 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
removed example
  • Loading branch information
ickshonpe committed Nov 24, 2022
commit ec8d739c89d1cce146682b3638354d0859b99943
10 changes: 0 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1472,16 +1472,6 @@ description = "Illustrates creating and updating text"
category = "UI (User Interface)"
wasm = true

[[example]]
name = "text_alignment"
path = "examples/ui/text_alignment.rs"

[package.metadata.example.text_alignment]
name = "Text Alignment"
description = "Demonstrates how text is displayed with each TextAlignment"
category = "UI (User Interface)"
wasm = false

[[example]]
name = "text_debug"
path = "examples/ui/text_debug.rs"
Expand Down
1 change: 0 additions & 1 deletion examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ Example | Description
[Button](../examples/ui/button.rs) | Illustrates creating and updating a button
[Font Atlas Debug](../examples/ui/font_atlas_debug.rs) | Illustrates how FontAtlases are populated (used to optimize text rendering internally)
[Text](../examples/ui/text.rs) | Illustrates creating and updating text
[Text Alignment](../examples/ui/text_alignment.rs)| Demonstrates how text is displayed with each TextAlignment
[Text Debug](../examples/ui/text_debug.rs) | An example for debugging text layout
[Transparency UI](../examples/ui/transparency_ui.rs) | Demonstrates transparency for UI
[UI](../examples/ui/ui.rs) | Illustrates various features of Bevy UI
Expand Down