Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Commit

Permalink
use a shared constant for TabsHeight (win)
Browse files Browse the repository at this point in the history
  • Loading branch information
skel35 committed Dec 7, 2020
1 parent b719860 commit deb3c55
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<FontFamily x:Key="DefaultFont">Segoe UI</FontFamily>

<sys:Double x:Key="TimerHeight">68</sys:Double>
<sys:Double x:Key="TabsHeight">40</sys:Double>

<Style TargetType="Control">
<Setter Property="FontFamily" Value="{StaticResource DefaultFont}" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@
mc:Ignorable="d"
d:DesignHeight="559.069" d:DesignWidth="381.927"
Style="{StaticResource TutorialScreen}">
<UserControl.Resources>
<system:Double x:Key="TabsHeight">40</system:Double>
</UserControl.Resources>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>

<Border BorderThickness="0" Margin="0,0,0,0" Background="{DynamicResource Toggl.CardBackground}" Height="40"
<Border BorderThickness="0" Margin="0,0,0,0" Background="{DynamicResource Toggl.CardBackground}"
Height="{StaticResource TabsHeight}"
Visibility="{Binding Path=IsTimelineViewEnabled, Converter={StaticResource BooleanToVisibilityConverter}}">
<UniformGrid Rows="1" x:Name="HeaderPanel" IsItemsHost="True"
VerticalAlignment="Stretch"/>
Expand Down

0 comments on commit deb3c55

Please sign in to comment.