[BTextControl] When alignment is set to B_ALIGN_RIGHT, the text is not aligned to the right of the control
|Reported by:||oco||Owned by:||jackburton|
|Has a Patch:||no||Platform:||All|
When alignment is set to B_ALIGN_RIGHT, the text is not aligned to the right of the control. The text is only moved a few pixels to the right.
steps to reproduce : The BTextControl is created with BRect(10, 15, 150, 20). ResizingMode is set to B_FOLLOW_LEFT | B_FOLLOW_TOP. flags is set to B_WILL_DRAW | B_NAVIGABLE. Then SetDivider is called with 0. And SetAlignment is called with (B_ALIGN_LEFT, B_ALIGN_LEFT) first. See B_ALIGN_LEFT.png.
Then SetAlignment is called with (B_ALIGN_RIGHT, B_ALIGN_RIGHT). See B_ALIGN_RIGHT.png.
Change History (13)
comment:5 by , 9 years ago
|Status:||closed → reopened|
|Version:||R1/pre-alpha1 → R1/alpha3|