[haiku-development] Re: Accidentally deleted #12608 and #15189

  • From: "Alexander G. M. Smith" <agmsmith@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 30 Jul 2020 11:31:05 -0400

Some of the details, original bug report info from January 19, 2016:

#12608: BTextControl Centering is Broken
----------------------------------+------------------------------
 Reporter:  AGMS                  |        Owner:  axeld
     Type:  bug                   |       Status:  new
 Priority:  normal                |    Milestone:  Unscheduled
Component:  Kits/Interface Kit    |      Version:  R1/Development
 Keywords:  BTextControl, Center  |   Blocked By:
 Blocking:                        |  Has a Patch:  0
 Platform:  All                   |
----------------------------------+------------------------------
 Supposedly centered text is actually a little bit to the left of center.
 Stays proportionally to the left even when the text box is resized.

Attachment added (by AGMS):
CenteringBug.cpp (1.3 KB) - Code which creates the examples of centered BTextControls.

Attachment added (by AGMS):
BTextControlCenteringTest.png (19.6 KB) - Shows BeOS and Haiku OS examples of centered text, and what happens when the text box is stretched wider.

Changes (by waddlesplash) July 18 2018:
 * status:  closed => reopened
 * resolution:  fixed =>

Comment (by AGMS) April 7 2020:
 Perhaps related to #1651 which also has BTextControl text positioning
 calculations not quite right.


Other related posts: