-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #127 from RevealBi/ui
fixed sandbox layout
- Loading branch information
Showing
1 changed file
with
30 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,30 @@ | ||
<Window x:Class="Sandbox.MainWindow" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:local="clr-namespace:Sandbox" | ||
xmlns:rv="http://revealbi.io/" | ||
mc:Ignorable="d" | ||
Title="MainWindow" Height="450" Width="800"> | ||
<Grid> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="Auto" /> | ||
<RowDefinition Height="*" /> | ||
</Grid.RowDefinitions> | ||
<StackPanel Orientation="Horizontal"> | ||
<Button Click="Load_Dashboard">Load Dashboard</Button> | ||
<Button Click="Read_Dashboard">Read Dashboard</Button> | ||
<Button Click="Clear_Dashboard" Content="Clear Dashboard"/> | ||
</StackPanel> | ||
|
||
<rv:RevealView Grid.Row="1" x:Name="_revealView" ShowEditDataSource="True" ShowDataBlending="True" | ||
SaveDashboard="RevealView_SaveDashboard" Margin="0,34,0,0"/> | ||
<ComboBox Name="_dashboardTypeSelector" HorizontalAlignment="Left" Margin="1,5,0,0" Grid.Row="1" VerticalAlignment="Top" Width="120"/> | ||
<Button Content="Create Dashboard with Type" Name="_createDashboardWithTypeBtn" HorizontalAlignment="Left" Margin="126,6,0,0" Grid.Row="1" VerticalAlignment="Top" Width="164" Click="CreateDashboardWithTypeBtn_Click"/> | ||
</Grid> | ||
|
||
</Window> | ||
<Window x:Class="Sandbox.MainWindow" | ||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" | ||
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" | ||
xmlns:local="clr-namespace:Sandbox" | ||
xmlns:rv="http://revealbi.io/" | ||
mc:Ignorable="d" | ||
Title="MainWindow" Height="1080" Width="1920"> | ||
<Grid> | ||
<Grid.RowDefinitions> | ||
<RowDefinition Height="Auto" /> | ||
<RowDefinition Height="Auto" /> | ||
<RowDefinition Height="*" /> | ||
</Grid.RowDefinitions> | ||
<StackPanel Orientation="Horizontal" Margin="5"> | ||
<Button Click="Load_Dashboard" Margin="2">Load Dashboard</Button> | ||
<Button Click="Read_Dashboard" Margin="2">Read Dashboard</Button> | ||
<Button Click="Clear_Dashboard" Margin="2">Clear Dashboard</Button> | ||
</StackPanel> | ||
<StackPanel Orientation="Horizontal" Grid.Row="1" Margin="3"> | ||
<ComboBox Name="_dashboardTypeSelector" Margin="2" Width="250" /> | ||
<Button Content="Create Dashboard with Type" Margin="2" Click="CreateDashboardWithTypeBtn_Click"/> | ||
</StackPanel> | ||
|
||
<rv:RevealView Grid.Row="2" x:Name="_revealView" ShowEditDataSource="True" ShowDataBlending="True" | ||
SaveDashboard="RevealView_SaveDashboard"/> | ||
</Grid> | ||
|
||
</Window> |