mirror of
https://github.com/emilk/egui.git
synced 2026-09-01 14:20:04 -04:00
[demo] Center the "(source code)" hyperlinks
This commit is contained in:
@@ -44,6 +44,8 @@ impl super::View for Tests {
|
||||
let _ = ui.button("Button");
|
||||
let _ = ui.button("Button");
|
||||
|
||||
ui.add(crate::__egui_github_link_file!());
|
||||
ui.vertical_centered(|ui| {
|
||||
ui.add(crate::__egui_github_link_file!());
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user