[haiku-bugs] Re: [Haiku] #1651: [BTextControl] When alignment is set to B_ALIGN_RIGHT, the text is not aligned to the right of the control
- From: "Pete" <trac@xxxxxxxxxxxx>
- Date: Thu, 04 Aug 2011 06:39:01 -0000
#1651: [BTextControl] When alignment is set to B_ALIGN_RIGHT, the text is not
aligned to the right of the control
----------------------------------+------------------------
Reporter: oco | Owner: jackburton
Type: bug | Status: reopened
Priority: normal | Milestone: R1
Component: Kits/Interface Kit | Version: R1/alpha3
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------------+------------------------
Changes (by Pete):
* status: closed => reopened
* version: R1/pre-alpha1 => R1/alpha3
* resolution: fixed =>
Comment:
I'm reopening this, as the symptom seems to have resurfaced. Not sure if
the cause is the same. I'm attaching a small test file (source) that
shows the problems.
The test creates a window with a BTextView and a BTextControl, the first
directly above the second, both with the alignment set to B_ALIGN_RIGHT.
In BeOS, this works as expected: both the view and the control show text
aligned at the right of their fields.
In Haiku (tested on r42415) things are not so right.
The BTextControl appears with the text ''left''-aligned. The text in the
BTextView directly above is not visible at all!
However, if you click the mouse in the region above the visible control,
you ''can'' select the view. You don't see a cursor immediately, but type
a left-arrow and it will appear. Then type right-arrows and the text will
appear character by character at the right of the field. The text was
initially aligned right out of range!
--
Ticket URL: <http://dev.haiku-os.org/ticket/1651#comment:5>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.
Other related posts:
- » [haiku-bugs] [Haiku] #1651: [BTextControl] When alignment is set to B_ALIGN_RIGHT, the text is not aligned to the right of the control- Pete
- » [haiku-bugs] Re: [Haiku] #1651: [BTextControl] When alignment is set to B_ALIGN_RIGHT, the text is not aligned to the right of the control - Pete
- » [haiku-bugs] Re: [Haiku] #1651: [BTextControl] When alignment is set to B_ALIGN_RIGHT, the text is not aligned to the right of the control- pulkomandy
- » [haiku-bugs] Re: [Haiku] #1651: [BTextControl] When alignment is set to B_ALIGN_RIGHT, the text is not aligned to the right of the control- humdinger
- » [haiku-bugs] [Haiku] #1651: [BTextControl] When alignment is set to B_ALIGN_RIGHT, the text is not aligned to the right of the control- humdinger
- » [haiku-bugs] Re: [Haiku] #1651: [BTextControl] When alignment is set to B_ALIGN_RIGHT, the text is not aligned to the right of the control- jackburton
- » [haiku-bugs] Re: [Haiku] #1651: [BTextControl] When alignment is set to B_ALIGN_RIGHT, the text is not aligned to the right of the control- humdinger
- » [haiku-bugs] Re: [Haiku] #1651: [BTextControl] When alignment is set to B_ALIGN_RIGHT, the text is not aligned to the right of the control- Haiku
- » [haiku-bugs] Re: [Haiku] #1651: [BTextControl] When alignment is set to B_ALIGN_RIGHT, the text is not aligned to the right of the control- Haiku
- » [haiku-bugs] Re: [Haiku] #1651: [BTextControl] When alignment is set to B_ALIGN_RIGHT, the text is not aligned to the right of the control- Haiku
- » [haiku-bugs] Re: [Haiku] #1651: [BTextControl] When alignment is set to B_ALIGN_RIGHT, the text is not aligned to the right of the control- Haiku