-
Notifications
You must be signed in to change notification settings - Fork 174
/
Copy pathConfigPage.xaml
47 lines (42 loc) · 1.86 KB
/
ConfigPage.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<?xml version="1.0" encoding="utf-8"?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Aila.ConfigPage">
<ContentPage.Content>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Editor x:Name="editor" Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="3"
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand"
Placeholder="Enter text here"
BackgroundColor="Transparent"/>
<Button Grid.Row="0" Grid.Column="1"
HorizontalOptions="End"
VerticalOptions="End"
Margin="0,0,10,10"
FontSize="Medium"
WidthRequest="200"
HeightRequest="50"
Text="Latest Config"
ToolTipProperties.Text="Click to check configuration update"
Clicked="OnCheckConfigUpdateClicked"/>
<Button Grid.Row="0" Grid.Column="2"
HorizontalOptions="End"
VerticalOptions="End"
Margin="0,0,10,10"
FontSize="Medium"
WidthRequest="100"
HeightRequest="50"
Text="↓ Save"
ToolTipProperties.Text="Click to Save your data"
Clicked="OnSaveButtonClicked"/>
</Grid>
</ContentPage.Content>
</ContentPage>