Skip to content

Commit

Permalink
Merge pull request #127 from RevealBi/ui
Browse files Browse the repository at this point in the history
fixed sandbox layout
  • Loading branch information
brianlagunas authored Dec 4, 2024
2 parents 57e4c84 + 3c2b0e4 commit 07ad421
Showing 1 changed file with 30 additions and 27 deletions.
57 changes: 30 additions & 27 deletions e2e/Sandbox/MainWindow.xaml
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>

0 comments on commit 07ad421

Please sign in to comment.