-
Hello, I'm trying to write text label that contains a url. ui.label("Visit");
ui.hyperlink_to("Github", "http://github.com/emilk/egui");
ui.label("to learn more"); However sadly this just make appear on multiple lines. |
Beta Was this translation helpful? Give feedback.
Answered by
mjehrhart
Apr 15, 2022
Replies: 1 comment 2 replies
-
I would try doing it this way. ui.with_layout(egui::Layout::left_to_right(), |ui| {
ui.label("Visit");
ui.hyperlink_to("Github", "http://github.com/emilk/egui");
ui.label("to learn more");
}); |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
kkharji
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I would try doing it this way.