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

DrawText ignores leading space #154

Open
nonkit opened this issue Aug 20, 2020 · 0 comments
Open

DrawText ignores leading space #154

nonkit opened this issue Aug 20, 2020 · 0 comments
Labels
type/runtime Issues related to runtime engine

Comments

@nonkit
Copy link
Member

nonkit commented Aug 20, 2020

GraphicsWindow.DrawText ignores leading space. Following code should be aligned right.

GraphicsWindow.FontName = "Courier New"
x = 56
For n = 1 To 10
    If n < 10 Then
        n = Text.Append(" ", n)
    EndIf
    GraphicsWindow.DrawText(x, y, n)
    y = y + 24
EndFor
@nonkit nonkit added the type/runtime Issues related to runtime engine label Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/runtime Issues related to runtime engine
Projects
None yet
Development

No branches or pull requests

1 participant