Skip to content

Commit

Permalink
Placeholder text and color added.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebarslan committed Oct 2, 2024
1 parent f6cb785 commit 6446365
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions Maui.NullableDateTimePicker.Samples.Net8/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
HorizontalOptions="Start"
CornerRadius="5"
Padding="5,0,5,0"
Placeholder="Enter date"
Is12HourFormat="{Binding Is12HourFormat}"
/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
<?xaml-comp compile="true" ?>
<ResourceDictionary
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml">
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:ndtp="clr-namespace:Maui.NullableDateTimePicker;assembly=Maui.NullableDateTimePicker">

<Style TargetType="ActivityIndicator">
<Setter Property="Color" Value="{AppThemeBinding Light={StaticResource Primary}, Dark={StaticResource White}}" />
Expand Down Expand Up @@ -422,4 +423,8 @@
<Setter Property="UnselectedTabColor" Value="{AppThemeBinding Light={StaticResource Gray200}, Dark={StaticResource Gray950}}" />
<Setter Property="SelectedTabColor" Value="{AppThemeBinding Light={StaticResource Gray950}, Dark={StaticResource Gray200}}" />
</Style>

<Style TargetType="ndtp:NullableDateTimePickerEntry">
<Setter Property="PlaceholderColor" Value="{AppThemeBinding Light={StaticResource Gray300}, Dark={StaticResource Gray400}}" />
</Style>
</ResourceDictionary>

0 comments on commit 6446365

Please sign in to comment.