diff options
| author | pml68 <contact@pml68.me> | 2024-09-23 23:57:45 +0200 |
|---|---|---|
| committer | pml68 <contact@pml68.me> | 2024-09-23 23:57:45 +0200 |
| commit | bc2066220f656765cc820baeb687d8594fbc8826 (patch) | |
| tree | f4b9f25d3e3fbd96c2ddfaf70508b011b0ebaaaf /iced_builder/src/codegen/mod.rs | |
| parent | feat: restructure project, start drag and drop (diff) | |
| download | iced-builder-bc2066220f656765cc820baeb687d8594fbc8826.tar.gz | |
feat: make code view scrollable, add autogen comment to code
Diffstat (limited to 'iced_builder/src/codegen/mod.rs')
| -rw-r--r-- | iced_builder/src/codegen/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/iced_builder/src/codegen/mod.rs b/iced_builder/src/codegen/mod.rs index 88c0c61..20a2e65 100644 --- a/iced_builder/src/codegen/mod.rs +++ b/iced_builder/src/codegen/mod.rs @@ -92,7 +92,8 @@ impl RenderedElement { let mut app_code = format!("use iced::{{widget::{{{imports}}},Sandbox,Settings,Element}};"); app_code = format!( - r#"{app_code} + r#"// Automatically generated by iced Builder + {app_code} fn main() -> iced::Result {{ App::run(Settings::default()) |
