Skip to content

NumberBox's SpinButtonPlacementMode="Compact" behaves like "Hidden" #1673

@stanlrt

Description

@stanlrt

Describe the bug

When I set the attribute to Compact, I expect the spin buttons to behave like WinUI's and as described here wpfui.lepo.co/api/Wpf.Ui.Controls.NumberBoxSpinButtonPlacementMode.html (i.e. horizontal placement when box isn't focused)

But they behave like Hidden (no spin button at all)

To Reproduce

Set the attribute and run the app.

Expected behavior

They behave as described

Screenshots

OS version

11

.NET version

10

WPF-UI NuGet version

4.2.0

Additional context

it seems #1022 fixes/implements the behaviour (although as a fully distinct new component/control, which isn't ideal)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions