Skip to content

MOAITextBox.LEFT_JUSTIFY v MOAITextBox.RIGHT_JUSTIFY (Y position problem) #122

@BenM1111

Description

@BenM1111

local MthPmtText = RNFactory.createText("Monthly Payment $", {size = 36, top = 0, left = 0, width = 200, height = 40, alignment = MOAITextBox.LEFT_JUSTIFY })

local MthPmtTextVal = RNFactory.createText(comma_value(mPmt), {size = 36, top = 0, left = 201, width = 200, height = 40, alignment = MOAITextBox.RIGHT_JUSTIFY })

I would think the above code should display the text at the same Y position, in this case 0. But it seems to actually display the LEFT_JUSTIFIED version a few pixels too high (maybe about 5?).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions