forked from Anagrr/Fuse.NeuCalculator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMainView.ux
More file actions
27 lines (23 loc) · 1.16 KB
/
MainView.ux
File metadata and controls
27 lines (23 loc) · 1.16 KB
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
<App>
<Text ux:Class="OutputLabel" Dock="Top" Font="Light" FontSize="25"
TextAlignment="Right" Alignment="VerticalCenter" Color="DarkShadow"/>
<JavaScript File="MainView.js"/>
<ClientPanel Color="Main">
<DockPanel Padding="20,0,20,20">
<NeuPanelPushed Dock="Fill" Margin="0,0,0,30" >
<OutputLabel Height="30" Value="{SecondOutput}" />
<OutputLabel Height="30" Value="{Operation}" Color="LightRed"/>
<OutputLabel Dock="Bottom" FontSize="43" TextWrapping="Wrap" Value="{FirstOutput}" />
</NeuPanelPushed>
<StackPanel Dock="Bottom" ItemSpacing="{Keyboard.spacing}">
<Each Items="{Keyboard.rows}">
<StackPanel Orientation="Horizontal" Width="100%" ItemSpacing="{Keyboard.spacing}" ContentAlignment="Center">
<Each Items="{buttons}">
<NeuButton Title="{title}" TitleColor="{color}" Size="{size}" Clicked="{onKeyPressed}"/>
</Each>
</StackPanel>
</Each>
</StackPanel>
</DockPanel>
</ClientPanel>
</App>