-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
NoWrap
Text
feature
#8947
Merged
alice-i-cecile
merged 14 commits into
bevyengine:main
from
ickshonpe:text-wrap-override
Jun 26, 2023
Merged
NoWrap
Text
feature
#8947
alice-i-cecile
merged 14 commits into
bevyengine:main
from
ickshonpe:text-wrap-override
Jun 26, 2023
Commits on Jun 18, 2023
-
The `size` field is changed to public. It shouldn't have been private, this was an error. `TextWrapOverride` Enum that describes alternative text wrapping behaviours. `TextOptions` Component with extra options for Bevy UI's `TextBundle` that aren't needed for `Text2dBundle`. `Text2dBundle` Added `TextOptions` component to this bundle.
Configuration menu - View commit details
-
Copy full SHA for 56033b1 - Browse repository at this point
Copy the full SHA 56033b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 884e8e4 - Browse repository at this point
Copy the full SHA 884e8e4View commit details
Commits on Jun 19, 2023
-
Removed the
TextOptions
andTextWrapOverride
types.Instead a variant `NeverBreak` has been added to the `BreakLineOn` enum.
Configuration menu - View commit details
-
Copy full SHA for 973e675 - Browse repository at this point
Copy the full SHA 973e675View commit details
Commits on Jun 24, 2023
-
Added `Text2d` support for the `NoWrap` variant by setting the width bound to infinity if `NoWrap` is set. `BreakLineOn::NeverBreak` renamed to `BreakLineOn::NoWrap` to match the name of the CSS text property `no_wrap`. `text_wrap_debug` Set `Oveflow::clip_x()` on each of the panels, to clip the unwrapped text.
Configuration menu - View commit details
-
Copy full SHA for ea42c27 - Browse repository at this point
Copy the full SHA ea42c27View commit details -
Removed a line intializing the style to default for a `TextBundle` that did nothing.
Configuration menu - View commit details
-
Copy full SHA for a416864 - Browse repository at this point
Copy the full SHA a416864View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae48806 - Browse repository at this point
Copy the full SHA ae48806View commit details -
Configuration menu - View commit details
-
Copy full SHA for b87600c - Browse repository at this point
Copy the full SHA b87600cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a08d34 - Browse repository at this point
Copy the full SHA 3a08d34View commit details -
Configuration menu - View commit details
-
Copy full SHA for c4465f9 - Browse repository at this point
Copy the full SHA c4465f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for d59a0f6 - Browse repository at this point
Copy the full SHA d59a0f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for a832ee5 - Browse repository at this point
Copy the full SHA a832ee5View commit details
Commits on Jun 26, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 672d148 - Browse repository at this point
Copy the full SHA 672d148View commit details -
Added a
with_no_wrap
builder method toText
Corrected a mistake in the description for `NoWrap`. Added more detailed comments explaining that `NoWrap` only disables soft wrapping and that hard wrapping will still occur.
Configuration menu - View commit details
-
Copy full SHA for 3eb7a24 - Browse repository at this point
Copy the full SHA 3eb7a24View commit details -
Configuration menu - View commit details
-
Copy full SHA for daa4cd2 - Browse repository at this point
Copy the full SHA daa4cd2View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.