@@ -14,6 +14,7 @@ impl crate::Demo for About {
14
14
. default_height ( 480.0 )
15
15
. open ( open)
16
16
. resizable ( [ true , false ] )
17
+ . scroll ( false )
17
18
. show ( ctx, |ui| {
18
19
use crate :: View as _;
19
20
self . ui ( ui) ;
@@ -36,11 +37,13 @@ impl crate::View for About {
36
37
) ) ;
37
38
ui. label ( "egui is designed to be easy to use, portable, and fast." ) ;
38
39
39
- ui. add_space ( 12.0 ) ; // ui.separator();
40
+ ui. add_space ( 12.0 ) ;
41
+
40
42
ui. heading ( "Immediate mode" ) ;
41
43
about_immediate_mode ( ui) ;
42
44
43
- ui. add_space ( 12.0 ) ; // ui.separator();
45
+ ui. add_space ( 12.0 ) ;
46
+
44
47
ui. heading ( "Links" ) ;
45
48
links ( ui) ;
46
49
@@ -50,7 +53,10 @@ impl crate::View for About {
50
53
ui. spacing_mut ( ) . item_spacing . x = 0.0 ;
51
54
ui. label ( "egui development is sponsored by " ) ;
52
55
ui. hyperlink_to ( "Rerun.io" , "https://www.rerun.io/" ) ;
53
- ui. label ( ", a startup building an SDK for visualizing streams of multimodal data." ) ;
56
+ ui. label ( ", a startup building an SDK for visualizing streams of multimodal data. " ) ;
57
+ ui. label ( "For an example of a real-world egui app, see " ) ;
58
+ ui. hyperlink_to ( "rerun.io/viewer" , "https://www.rerun.io/viewer" ) ;
59
+ ui. label ( " (runs in your browser)." ) ;
54
60
} ) ;
55
61
56
62
ui. add_space ( 12.0 ) ;
@@ -94,12 +100,12 @@ fn about_immediate_mode(ui: &mut egui::Ui) {
94
100
fn links ( ui : & mut egui:: Ui ) {
95
101
use egui:: special_emojis:: { GITHUB , TWITTER } ;
96
102
ui. hyperlink_to (
97
- format ! ( "{GITHUB} egui on GitHub " ) ,
103
+ format ! ( "{GITHUB} github.com/emilk/ egui" ) ,
98
104
"https://github.com/emilk/egui" ,
99
105
) ;
100
106
ui. hyperlink_to (
101
107
format ! ( "{TWITTER} @ernerfeldt" ) ,
102
108
"https://twitter.com/ernerfeldt" ,
103
109
) ;
104
- ui. hyperlink_to ( "egui documentation" , "https://docs.rs/egui/" ) ;
110
+ ui. hyperlink_to ( "📓 egui documentation" , "https://docs.rs/egui/" ) ;
105
111
}
0 commit comments