rds1983 / Myra

UI Library for MonoGame, FNA and Stride
MIT License
703 stars 94 forks source link

Are Minimum/Maximum working? #465

Open Kubrix opened 1 month ago

Kubrix commented 1 month 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 1 week 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
    };