CrowDesignAssembly/
netcoredbg/
testfiles/
+plugins/CEEbnfPlugin/Grammars/
#Autosave files
*~
<?xml version="1.0"?>
-<!--<Widget Background="{./Background}"/>-->
<Border Name="SizeHandle" BorderWidth="1" Foreground="Black" CornerRadius="{./CornerRadius}"
StickyMouse="8" StickyMouseEnabled="{./IsFloating}" Background="{./Background}">
<VerticalStack Spacing="0" Name="MoveHandle">
<?xml version="1.0"?>
-<!--<Widget Background="{./Background}"/>-->
<Border Name="SizeHandle" BorderWidth="1" Foreground="Black" CornerRadius="{./CornerRadius}"
StickyMouse="8" StickyMouseEnabled="{./IsFloating}" Background="{./Background}">
<Group Name="MoveHandle">
- <!--<Label Text="{./Caption}" VerticalAlignment="Top" HorizontalAlignment="Left" Fit="true" Foreground="DimGrey" Font="${SmallUIFont}"/>
- <HorizontalStack VerticalAlignment="Top" HorizontalAlignment="Right" Fit="true">
- <ListBox Data="{./DockCommands}" Fit="true">
- <Template>
- <HorizontalStack Name="ItemsContainer" />
- </Template>
- <ItemTemplate Path="#Crow.WindowButton.template"/>
- </ListBox>
- <ListBox Data="{./Commands}" Fit="true">
- <Template>
- <HorizontalStack Name="ItemsContainer" />
- </Template>
- <ItemTemplate Path="#Crow.WindowButton.template"/>
- </ListBox>
- </HorizontalStack>-->
- <!--<HorizontalStack Background="vgradient|0:0.5,0.4,0.6,0.5|1:0.2,0.3,0.3,0.7" VerticalAlignemnt="Top"
- Name="hs" Margin="0" Spacing="0" Height="Fit" Visible="{./IsFloating}">
- <Widget Width="5"/>
- <Image Margin="1" Width="10" Height="10" Path="{./Icon}"/>
- <Label Width="Stretched" Foreground="White" Margin="1" TextAlignment="Left" Text="{./Caption}" />
- <ListBox Data="{./DockCommands}" Fit="true">
- <Template>
- <HorizontalStack Name="ItemsContainer" />
- </Template>
- <ItemTemplate Path="#Crow.WindowButton.template"/>
- </ListBox>
- <ListBox Data="{./Commands}" Fit="true">
- <Template>
- <HorizontalStack Name="ItemsContainer" />
- </Template>
- <ItemTemplate Path="#Crow.WindowButton.template"/>
- </ListBox>
- <Widget Width="5"/>
- </HorizontalStack>-->
- <Container Name="Content" MinimumSize="50,50" />
+ <VerticalStack Spacing="0" >
+ <HorizontalStack Background="vgradient|0:0.5,0.4,0.6,0.5|1:0.2,0.3,0.3,0.7" Width="Stretched"
+ Name="hs" Margin="0" Spacing="0" Height="Fit" Visible="{./IsFloating}">
+ <Widget Width="5"/>
+ <Image Margin="1" Width="10" Height="10" Path="{./Icon}"/>
+ <Label Width="Stretched" Foreground="White" Margin="1" TextAlignment="Left" Text="{./Caption}" />
+ <ListBox Style="DockWinTitleBarIconMenu" Data="{./AdditionalCommands}"/>
+ <ListBox Style="DockWinTitleBarIconMenu" Data="{./DockCommands}"/>
+ <ListBox Style="DockWinTitleBarIconMenu" Data="{./Commands}"/>
+ <Widget Width="5"/>
+ </HorizontalStack>
+ <Container Name="Content" MinimumSize="50,50" />
+ </VerticalStack>
+ <HorizontalStack Visible="{./IsDockedInStack}" Height="Fit" Margin="1" Background="Jet" Width="Fit"
+ HorizontalAlignment="Right" Top="5">
+ <ListBox Style="DockWinTitleBarIconMenu" Data="{./AdditionalCommands}"/>
+ <ListBox Style="DockWinTitleBarIconMenu" Data="{./DockCommands}"/>
+ <ListBox Style="DockWinTitleBarIconMenu" Data="{./Commands}"/>
+ </HorizontalStack>
</Group>
</Border>
--- /dev/null
+<?xml version="1.0"?>
+<VerticalStack Spacing="0">
+ <ListBox Data="{./Items}" Height="Fit" >
+ <Template>
+ <VerticalStack Spacing="0" >
+ <ScrollBar Orientation="Horizontal" Foreground="RoyalBlue" Height="6" Width="Stretched" CornerRadius="3"
+ Value="{²../ItemsScroller.ScrollX}"
+ LargeIncrement="{../ItemsScroller.PageWidth}" SmallIncrement="1"
+ CursorRatio="{../ItemsScroller.ChildWidthRatio}" Maximum="{../ItemsScroller.MaxScrollX}">
+ <Template>
+ <Container Margin="1" Background="{./Background}">
+ <Widget Name="Cursor" Background="{./Foreground}" CornerRadius="{./CornerRadius}"/>
+ </Container>
+ </Template>
+ </ScrollBar>
+ <Scroller Name="ItemsScroller" Height="Fit" Width="Stretched">
+ <HorizontalStack Name="ItemsContainer" Width="Fit" HorizontalAlignment="Left"/>
+ </Scroller>
+ </VerticalStack>
+ </Template>
+ <ItemTemplate>
+ <ListItem RootDataLevel="true" Fit="true" Background="${InactiveTabBackground}" Foreground="${InactiveTabForeground}" IsSelected="{IsVisible}"
+ Selected="{.DataSource.IsVisible='true'};{Background=${SelectedTabBackground}};{Foreground=${SelectedTabForeground}}"
+ Unselected="{.DataSource.IsVisible='false'};{Background=${InactiveTabBackground}};{Foreground=${InactiveTabForeground}}"
+ BubbleEvents="MouseWheel">
+ <HorizontalStack DataSource="{DataSource}" Margin="3" Spacing="5">
+ <!--<Image Style="TreeIcon" Path="{Icon}" SvgSub="{IconSub}"/> No icon in Document class-->
+ <Label Text="{FileName}" Tooltip="{FullPath}" ContextCommands="{TabCommands}" Foreground="{../../Foreground}" Margin="3" />
+ <Widget Width="10" Height="10" Background="RoyalBlue" IsVisible="{IsDirty}"/>
+ <Border CornerRadius="5" BorderWidth="1" Foreground="Transparent" Height="12" Width="12"
+ MouseEnter="{Foreground=White}" MouseLeave="{Foreground=Transparent}">
+ <Image Focusable="true" Name="Image" Margin="0" Width="Stretched" Height="Stretched" Path="#Crow.Icons.exit2.svg"
+ MouseClick="OnQueryClose"/>
+ </Border>
+ </HorizontalStack>
+ </ListItem>
+ </ItemTemplate>
+ </ListBox>
+ <Group Name="ItemsContainer" />
+</VerticalStack>
+
+
<Label Text="{./Caption}" Width="Stretched" Height="Fit" Margin="5"
Background="{./Background}"/>
</Template>
- <VerticalStack Name="ItemsContainer" Height="Fit" Width="Fit" Background="Jet"/>
+ <VerticalStack Name="ItemsContainer" Height="Fit" Width="Fit" Background="Jet" Margin="1"/>
</Popper>
</Template>
</MenuItem>
<?xml version="1.0"?>
-<DockWindow Caption="Editor" Width="50%" Height="80%">
- <TabView ItemTemplate="{EditorItemTemplates}"
- Data="{OpenedDocuments}" SelectedItem="{²CurrentDocument}" DataTest="EditorPath">
- <Template>
- <VerticalStack Spacing="0" >
- <ListBox Data="{./Items}" Height="Fit" >
- <Template>
- <VerticalStack Spacing="0" >
- <ScrollBar Orientation="Horizontal" Foreground="RoyalBlue" Height="6" Width="Stretched" CornerRadius="3"
- Value="{²../ItemsScroller.ScrollX}"
- LargeIncrement="{../ItemsScroller.PageWidth}" SmallIncrement="1"
- CursorRatio="{../ItemsScroller.ChildWidthRatio}" Maximum="{../ItemsScroller.MaxScrollX}">
- <Template>
- <Container Margin="1" Background="{./Background}">
- <Widget Name="Cursor" Background="{./Foreground}" CornerRadius="{./CornerRadius}"/>
- </Container>
- </Template>
- </ScrollBar>
- <Scroller Name="ItemsScroller" Height="Fit" Width="Stretched">
- <HorizontalStack Name="ItemsContainer" Width="Fit" HorizontalAlignment="Left"/>
- </Scroller>
- </VerticalStack>
- </Template>
- <ItemTemplate>
- <!--<ListItem Fit="true" Background="${InactiveTabItem}" IsSelected="{IsVisible}" Margin="5"
- Selected="{.DataSource.Visible='true'};{Background=.DataSource.Background}"
- Unselected="{.DataSource.Visible='false'};{Background=${InactiveTabItem}}">
- <Label Text="{Name}" Width="200" />
- </ListItem>-->
- <ListItem RootDataLevel="true" Fit="true" Background="${InactiveTabBackground}" Foreground="${InactiveTabForeground}" IsSelected="{IsVisible}"
- Selected="{.DataSource.IsVisible='true'};{Background=${SelectedTabBackground}};{Foreground=${SelectedTabForeground}}"
- Unselected="{.DataSource.IsVisible='false'};{Background=${InactiveTabBackground}};{Foreground=${InactiveTabForeground}}"
- BubbleEvents="MouseWheel">
- <HorizontalStack DataSource="{DataSource}" Margin="3" Spacing="5">
- <!--<Image Style="TreeIcon" Path="{Icon}" SvgSub="{IconSub}"/> No icon in Document class-->
- <Label Text="{FileName}" Tooltip="{FullPath}" ContextCommands="{TabCommands}" Foreground="{../../Foreground}" Margin="3" />
- <Widget Width="10" Height="10" Background="RoyalBlue" IsVisible="{IsDirty}"/>
- <Border CornerRadius="5" BorderWidth="1" Foreground="Transparent" Height="12" Width="12"
- MouseEnter="{Foreground=White}" MouseLeave="{Foreground=Transparent}">
- <Image Focusable="true" Name="Image" Margin="0" Width="Stretched" Height="Stretched" Path="#Crow.Icons.exit2.svg"
- MouseClick="OnQueryClose"/>
- </Border>
- </HorizontalStack>
- </ListItem>
- </ItemTemplate>
- </ListBox>
- <Group Name="ItemsContainer" />
- </VerticalStack>
- </Template>
+<DockWindow Style="DockWindow" Caption="Editor" Width="50%" Height="80%">
+ <TabView Data="{OpenedDocuments}" SelectedItem="{²CurrentDocument}" DataTest="EditorPath"
+ Template="#ui.EditorTabView.template"
+ ItemTemplate="{EditorItemTemplates}">
</TabView>
</DockWindow>