Merge pull request #752 from yangjieshao/main

修复了NumPad对NumericUpDown和IPv4Box的支持
This commit is contained in:
Dong Bin
2025-08-29 17:07:03 +08:00
committed by GitHub
6 changed files with 164 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
<ResourceDictionary
<ResourceDictionary
xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:u="https://irihi.tech/ursa">
@@ -92,7 +92,7 @@
</u:NumPadButton>
<u:NumPadButton
Grid.Row="1"
Grid.RowSpan="2"
Grid.RowSpan="1"
Grid.Column="3"
Height="{x:Static x:Double.NaN}"
VerticalAlignment="Stretch"
@@ -100,6 +100,16 @@
FunctionKey="Add"
NumContent="+"
NumKey="Add" />
<u:NumPadButton
Grid.Row="2"
Grid.RowSpan="1"
Grid.Column="3"
Height="{x:Static x:Double.NaN}"
VerticalAlignment="Stretch"
FunctionContent="←"
FunctionKey="Back"
NumContent="←"
NumKey="Back" />
<u:NumPadButton
Grid.Row="2"
Grid.Column="0"