-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Is your issue REALLY a bug?
- My issue is indeed a bug!
- I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.
Is there an existing issue for this?
- I have searched the existing issues.
Is this issue related to iced?
- My hardware is compatible and my graphics drivers are up-to-date.
What happened?
Even if I specify Wrapping::None, the text is wrapped.
Here is a SSCCE:
use iced::{widget::text, Element};
#[derive(Default)]
struct State;
#[derive(Debug)]
enum Message {}
fn main() -> iced::Result {
iced::run("Text Wrapping Bug", update, view)
}
fn update(_state: &mut State, _message: Message) {}
fn view(_state: &State) -> Element<Message> {
text("Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book.")
.wrapping(text::Wrapping::None)
.into()
}
What is the expected behavior?
I expect to see only one line of text as I specify Wrapping::None.
Version
crates.io release
Operating System
macOS
Do you have any log output?
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working