Skip to content

Commit 155d7a6

Browse files
committed
Fix calc sample button issues.
1 parent 4de66ac commit 155d7a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

samples/Unity.Mvvm.Calc/Assets/UI Toolkit/CalcView.uxml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
<ui:VisualElement name="BottomPanel" class="bottom-panel">
88
<ui:VisualElement name="Row1" class="elements-row">
99
<UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="C" name="ButtonClear" command="ClearCommand" class="round-button round-button__clear-label" />
10-
<UnityMvvmToolkit.UITK.BindableUIElements.ButtonUITK text="+/-" name="ButtonSign" enabled="false" class="round-button round-button__operation-label" />
11-
<UnityMvvmToolkit.UITK.BindableUIElements.ButtonUITK text="%" name="ButtonPercentage" enabled="false" class="round-button round-button__operation-label" />
10+
<UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="+/-" name="ButtonSign" enabled="false" class="round-button round-button__operation-label" />
11+
<UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="%" name="ButtonPercentage" enabled="false" class="round-button round-button__operation-label" />
1212
<UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="÷" name="ButtonDivision" command="OperationCommand, ÷" class="round-button round-button__operation-label" />
1313
</ui:VisualElement>
1414
<ui:VisualElement name="Row2" class="elements-row">
@@ -31,7 +31,7 @@
3131
</ui:VisualElement>
3232
<ui:VisualElement name="Row5" class="elements-row">
3333
<UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="0" name="Button0" command="NumberCommand, 0" class="round-button round-button--wide" />
34-
<UnityMvvmToolkit.UITK.BindableUIElements.ButtonUITK text="." name="ButtonDot" enabled="false" class="round-button" />
34+
<UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="." name="ButtonDot" enabled="false" class="round-button" />
3535
<UnityMvvmToolkit.UITK.BindableUIElements.BindableButton text="=" name="ButtonEqual" command="CalculateCommand" class="round-button round-button--highlighted" />
3636
</ui:VisualElement>
3737
</ui:VisualElement>

0 commit comments

Comments
 (0)