Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Space chars (at beginning) are not displayed in label controls. #1269

Closed
marcoslm opened this issue Oct 15, 2022 · 1 comment
Closed

Space chars (at beginning) are not displayed in label controls. #1269

marcoslm opened this issue Oct 15, 2022 · 1 comment

Comments

@marcoslm
Copy link

Describe the bug
Space characters are not displayed at the beginning of the text assigned in the "Caption" property of label controls (at design time and at run time).
I think this happen since recent implementation of lightweight controls.

To Reproduce

  1. Add a label control to the form.
  2. Set Alignment property to vbLeftJustify (for a better visualization of the problem).
  3. Enter a text in the Caption property.
  4. Add one or more space characters at the beginning of this text, you will see that the added spaces do not affect the text displayed in the control.

Expected behavior
The text should be displayed in the control as in his caption property.

Desktop (please complete the following information):

  • OS: Windows 10 21H2 x64
  • twinBASIC compiler version 0.15.149
@marcoslm marcoslm changed the title Space chars at text beginning are not displayed in label controls. Space chars (at beginning) are not displayed in label controls. Oct 15, 2022
@WaynePhillipsEA
Copy link
Collaborator

Fixed in BETA 150, thanks for reporting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants