Recent

Author Topic: [feature request] having spin arrows in designer fields  (Read 1617 times)

Muso

  • Sr. Member
  • ****
  • Posts: 362
[feature request] having spin arrows in designer fields
« on: August 18, 2025, 02:44:19 pm »
I am a long-time Lazarus user and recently tried to promote it to others. One of the things several persons gave as feedback is why there are no spin buttons in the designer fields.
For example when one has an object property "width" they would like to have spin buttons whose increment are e.g. automatically set to 5% (adjustable in the preferences) of the current width.At first I did not understand what they mean, but I got it now and there are 2 arguments:
  • it is more quick to insert an object and set its rough size. Then use the spin buttons to see how a 5% change in Width/Height, Top/Left will look like than to enter a number and press enter. One can keep the hand at the mouse and saves the move from the mouse to the keyboard
  • One can scroll through things. For example if one has a tab order or an index etc. Then one would be able to hold the Ctrl key and use the mouse wheel to change the index value and see immediately the effect. Also hereby the hand can stay at the mouse.
I implemented these features in one of my programs to play a bit with this and especially argument 2 is convincing. One is overall quicker and it is more convenient.
I think these features are mainly sensible for properties of integers.

But maybe there are good reasons why this cannot be implemented?

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 12125
  • Debugger - SynEdit - and more
    • wiki
Re: [feature request] having spin arrows in designer fields
« Reply #1 on: August 23, 2025, 02:09:18 pm »
I don't know if there was a reason (other than nobody thought about it, or maybe nobody had the time to spent).

If there is no further reaction here, then maybe add a feature request to the bug tracker.

 

TinyPortal © 2005-2018