mirror of
https://github.com/Microsoft/calculator.git
synced 2025-08-23 06:25:19 -07:00
Fix Standard buttons showing through on other pages
Bind Visibility of buttons, this works around limitation on Uno of x:Load not being bindable (nor de-settable after first materialize).
This commit is contained in:
parent
00ecbbf090
commit
135a19e440
1 changed files with 3 additions and 1 deletions
|
@ -9,9 +9,11 @@
|
||||||
UseLayoutRounding="False"
|
UseLayoutRounding="False"
|
||||||
mc:Ignorable="">
|
mc:Ignorable="">
|
||||||
<Grid>
|
<Grid>
|
||||||
|
<!--Bind visibility as a workaround for nventive/Uno#925-->
|
||||||
<local:CalculatorStandardOperators x:Name="StandardOperators"
|
<local:CalculatorStandardOperators x:Name="StandardOperators"
|
||||||
x:Load="{x:Bind Model.IsStandard, Mode=OneWay}"
|
x:Load="{x:Bind Model.IsStandard, Mode=OneWay}"
|
||||||
IsEnabled="{x:Bind Model.IsStandard, Mode=OneWay}"
|
IsEnabled="{x:Bind Model.IsStandard, Mode=OneWay}"
|
||||||
|
Visibility="{x:Bind Model.IsStandard, Mode=OneWay}"
|
||||||
TabIndex="17" />
|
TabIndex="17" />
|
||||||
|
|
||||||
<local:CalculatorScientificOperators x:Name="ScientificOperators"
|
<local:CalculatorScientificOperators x:Name="ScientificOperators"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue