Finished Settings page

This commit is contained in:
2025-11-12 17:06:14 +01:00
parent a608f98497
commit e0bf95060a
38 changed files with 675 additions and 34 deletions

View File

@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="utf-8"?>
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:components="clr-namespace:WorkTime.Mobile.Pages.Components"
x:Class="WorkTime.Mobile.Pages.Components.SettingComponent"
x:DataType="components:SettingComponent"
x:Name="Component">
<Grid ColumnDefinitions="*,Auto,80" ColumnSpacing="5">
<Label Text="{Binding Title, Source={x:Reference Component}}"
VerticalTextAlignment="Center"
Grid.Column="0"/>
<Entry Placeholder="{Binding Placeholder, Source={x:Reference Component}}"
Keyboard="Numeric"
Grid.Column="1"
TextChanged="OnValueChanged"
x:Name="EntryField"/>
<Label Text="{Binding Unit, Source={x:Reference Component}}"
VerticalTextAlignment="Center"
Grid.Column="2"/>
</Grid>
</ContentView>