STARTER_XAML
constant · ferroui-designer · v0.5.0
const STARTER_XAML: &str = "<Canvas xmlns=\"https://github.com/ferroui\"\n xmlns:x=\"http://schemas.microsoft.com/winfx/2006/xaml\"\n Width=\"800\" Height=\"520\" Background=\"#FFF8FAFC\">\n <!-- Move and resize these controls on the artboard; the source stays synchronized. -->\n <Border Name=\"Card\" Canvas.Left=\"72\" Canvas.Top=\"64\" Width=\"656\" Height=\"352\"\n Background=\"White\" BorderBrush=\"#FFE2E8F0\" BorderThickness=\"1\" CornerRadius=\"16\">\n <Grid Margin=\"32\" RowDefinitions=\"Auto,Auto,*,Auto\" ColumnDefinitions=\"*,Auto\">\n <TextBlock Name=\"Heading\" Text=\"Create something remarkable\" FontSize=\"28\" />\n <TextBlock Grid.Row=\"1\" Grid.ColumnSpan=\"2\" Margin=\"0,12,0,0\"\n Text=\"A native FerroUI workspace. Every edit is real XAML.\" FontSize=\"15\" />\n <StackPanel Grid.Row=\"2\" Grid.ColumnSpan=\"2\" Margin=\"0,24,0,0\" Spacing=\"12\">\n <TextBox Name=\"ProjectName\" Text=\"My next application\" />\n <CheckBox Content=\"Enable animated transitions\" IsChecked=\"True\" />\n </StackPanel>\n <Button Name=\"Action\" Grid.Row=\"3\" Content=\"Start designing\" Padding=\"24,12\"\n HorizontalAlignment=\"Left\" />\n <TextBlock Grid.Row=\"3\" Grid.Column=\"1\" VerticalAlignment=\"Center\" Text=\"FerroUI\" />\n </Grid>\n </Border>\n <TextBlock Name=\"Caption\" Canvas.Left=\"76\" Canvas.Top=\"452\" FontSize=\"13\"\n Foreground=\"#FF64748B\" Text=\"Select any element to inspect and edit its properties.\" />\n</Canvas>\n"
The self-contained example opened by Designer Studio and usable by hosts.
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.