Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
NicoVermeir committed Nov 11, 2017
2 parents 66a12fa + e2ec771 commit 8fa5173
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion OpenHAB.Windows/View/MainPage.xaml
Expand Up @@ -133,7 +133,7 @@
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<TextBlock Margin="20,12,0,16"
<TextBlock x:Name="SitemapLabel"
FontSize="36"
Foreground="White"
Text="{x:Bind Vm.SelectedSitemap.Label, Mode=OneWay}" />
Expand Down Expand Up @@ -189,6 +189,7 @@
</VisualState.StateTriggers>
<VisualState.Setters>
<Setter Target="SitemapSplitView.CompactPaneLength" Value="56" />
<Setter Target="SitemapLabel.Margin" Value="20,12,0,16" />
</VisualState.Setters>
</VisualState>
<VisualState x:Name="NarrowState">
Expand All @@ -197,6 +198,7 @@
</VisualState.StateTriggers>
<VisualState.Setters>
<Setter Target="SitemapSplitView.CompactPaneLength" Value="0" />
<Setter Target="SitemapLabel.Margin" Value="40,12,0,16" />
</VisualState.Setters>
</VisualState>
</VisualStateGroup>
Expand Down

0 comments on commit 8fa5173

Please sign in to comment.