]> O.S.I.I.S - jp/crow.git/commitdiff
debug showcase menu resize
authorJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Fri, 31 Dec 2021 03:13:16 +0000 (04:13 +0100)
committerJean-Philippe Bruyère <jp_bruyere@hotmail.com>
Fri, 31 Dec 2021 03:13:16 +0000 (04:13 +0100)
Samples/ShowCase/ui/showcase.crow

index 62b676dff30ddc7a2ea7b6a0ec52efc0e1a30f45..298c8797630443b757f12b81eb79a2e61407562f 100644 (file)
                </VerticalStack>-->
                <Container Name="CrowContainer" Height="60%" Background="Black"/>
                <Splitter/>
-               <Menu Data="{EditorAllCommands}" Height="Fit" Width="Stretched">
-                       <ItemTemplate DataType="Crow.Command" Path="Interfaces/menuCommand.itmp"/>
-                       <ItemTemplate DataType="Crow.CommandGroup" >
-                               <MenuItem Data="{Commands}" Width="Fit" IsEnabled="{CanExecute}"
-                                               Template="Interfaces/menuItem.template"
-                                               ItemTemplate="Interfaces/menuItem.itmp">
-                               </MenuItem>
-                       </ItemTemplate>
-               </Menu>
                <VerticalStack CacheEnabled="true">
+                       <Menu Data="{EditorAllCommands}" Height="Fit" Width="Stretched">
+                               <ItemTemplate DataType="Crow.Command" Path="Interfaces/menuCommand.itmp"/>
+                               <ItemTemplate DataType="Crow.CommandGroup" >
+                                       <MenuItem Data="{Commands}" Width="Fit" IsEnabled="{CanExecute}"
+                                                       Template="Interfaces/menuItem.template"
+                                                       ItemTemplate="Interfaces/menuItem.itmp">
+                                       </MenuItem>
+                               </ItemTemplate>
+                       </Menu>
                <!--    <Wrapper Orientation="Vertical" Height="Fit">
                                <Button Style="IcoButton" Command="{CMDNew}" />
                                <Button Style="IcoButton" Command="{CMDSave}" />