rds1983 / Myra

UI Library for MonoGame, FNA and Stride
MIT License
742 stars 93 forks source link

Are Minimum/Maximum working? #465

Open Kubrix opened 6 months ago

Kubrix commented 6 months ago
    sbEnemySpawnInterval= new SpinButton
    {
      Nullable = false, Width = 100,
      Minimum = 3,Maximum = 20,
       Left = 10, Top = 100
    };

Cant change the value be mouse/keyboard

MaaxGyver commented 5 months ago

Looks like if you add your min or max value in when creating the SpinButton, it will allow you to change the values via the up and down arrows using the mouse.

sbEnemySpawnInterval= new SpinButton
    {
      Nullable = false, Width = 100,
      Minimum = 3,Maximum = 20,
       Left = 10, Top = 100,
       Value = 3
    };