mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 22:30:03 -04:00
Add Ui::hyperlink_to
This commit is contained in:
@@ -100,9 +100,7 @@ impl DemoWindows {
|
||||
|
||||
ScrollArea::auto_sized().show(ui, |ui| {
|
||||
ui.label("egui is an immediate mode GUI library written in Rust.");
|
||||
ui.add(
|
||||
egui::Hyperlink::new("https://github.com/emilk/egui").text(" egui home page"),
|
||||
);
|
||||
ui.hyperlink_to(" egui home page", "https://github.com/emilk/egui");
|
||||
|
||||
ui.label("egui can be run on the web, or natively on 🐧");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user