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

Commit

Permalink
Make time entry list dividers light gray instead of transparent (win)
Browse files Browse the repository at this point in the history
  • Loading branch information
skel35 committed Mar 4, 2020
1 parent 840c4a0 commit 413d1bb
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Focusable="True"
IsTabStop="True"
behaviors:FocusHelper.IsFocused="{Binding IsFocused, Mode=OneWay}"
Margin="0 0 0 1">
Margin="0 1 0 0">

<Grid Name="rootGrid" Height="{StaticResource TimeEntryHeight}" MouseLeftButtonDown="entry_MouseDown">
<Grid.Style>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,18 @@
<DropShadowEffect Direction="270" Color="{DynamicResource Toggl.BlackColor}" Opacity="0.1"
BlurRadius="3" ShadowDepth="1" />
</UserControl.Effect>
<StackPanel>
<Border Background="{DynamicResource Toggl.CardBackground}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<StackPanel Grid.Row="1" Name="panel" x:FieldModifier="private"
Visibility="{Binding IsExpanded, Converter={StaticResource BooleanToVisibilityConverter}}"
Margin="0 -1 0 0"
Background="{DynamicResource Toggl.LightGrayBrush}"/>
<!-- <ItemsControl Visibility="{Binding IsExpanded, Converter={StaticResource BooleanToVisibilityConverter}}" -->
<!-- Items="{Binding DaysBindable}" /> -->
<Border Grid.Row="0" Background="{DynamicResource Toggl.CardBackground}">
<ToggleButton Height="{StaticResource TimeEntryDayHeaderHeight}"
Style="{StaticResource Toggl.TimeEntryDayHeaderToggleButton}"
IsChecked="{Binding IsExpanded}"
Expand All @@ -39,9 +49,5 @@
</DockPanel>
</ToggleButton>
</Border>
<StackPanel Name="panel" x:FieldModifier="private"
Visibility="{Binding IsExpanded, Converter={StaticResource BooleanToVisibilityConverter}}"/>
<!-- <ItemsControl Visibility="{Binding IsExpanded, Converter={StaticResource BooleanToVisibilityConverter}}" -->
<!-- Items="{Binding DaysBindable}" /> -->
</StackPanel>
</Grid>
</UserControl>

0 comments on commit 413d1bb

Please sign in to comment.