delphi - How to stop control resizing when removing anchoring? -


On removing an anchoring, one control can automatically resize itself in another size.

Steps to reproduce

  1. Drop control on a form

  2. Set up an anchor

    Enter image details here

  3. Resize form; Change the size of the control with:

    Enter image details here

    < / Li>
  4. Remove anchor:

    Enter image details here

  5. View the size without permission without permission:

when When you make the control, it receives the initial parameter of height and the square Due is when you change the size of the anchoring and form, the control also changes the size, but the initial parameters do not change. Therefore, when you remove anchoring, its initial size is found.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -