Skip to content

Hi, I asked the same question on Avalonia's discussions, but I eventually found out that the issue was caused by Semi.Avalonia. #339

Answered by rabbitism
IronEaterBeast asked this question in Q&A
Discussion options

You must be logged in to vote

First of all you can use Small class, and you will get a 24 px high control.

If this is not what you want, for your version, you can locally (or globally) set a dynamic resource to decrease height

            <NumericUpDown.Resources>
                <x:Double x:Key="NumericUpDownWrapperDefaultHeight">24</x:Double>
            </NumericUpDown.Resources>

But I really doubt you globally added some padding to TextBox. you need to remove it if you have.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@IronEaterBeast
Comment options

@rabbitism
Comment options

Answer selected by rabbitism
@IronEaterBeast
Comment options

@rabbitism
Comment options

@IronEaterBeast
Comment options

@rabbitism
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants