Skip to content

How to embed hyper link into text in a single line #1495

Answered by mjehrhart
kkharji asked this question in Q&A
Discussion options

You must be logged in to vote

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");
 });

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kkharji
Comment options

@emilk
Comment options

Answer selected by kkharji
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants