Ticket #1917 (closed bug: worksforme)
Frames positioned incorrectly
Reported by: | kyli | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | uncategorized | Version: | 2.0 |
Keywords: | Cc: | ||
Category: | unknown | Effort: | |
Importance: | Ticket_group: | ||
Estimated Number of Hours: | 0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0 |
Analysis_owners: | kyli | Design_owners: | boyan |
Imp._owners: | boyan | Test_owners: | vanya |
Analysis_reviewers: | boyan | Changelog: | |
Design_reviewers: | meddle, todor | Imp._reviewers: | meddle, todor |
Test_reviewers: | Analysis_score: | 3.5 | |
Design_score: | 3.5 | Imp._score: | 3.5 |
Test_score: | 0 |
Description
When you set a frame's position to (0,0) from the position hud, it actually goes to (-12, -12). If you remove the frame paddings, it goes to the correct place.
Attachments
Change History
comment:4 Changed 16 years ago by boyan
- Design_owners set to boyan
- Status changed from s1b_analysis_finished to s2a_design_started
starting design and implementation
comment:5 Changed 16 years ago by boyan
- Status changed from s2a_design_started to s3b_implementation_finished
- Imp._owners set to boyan
The problem is in the SizeAndPositionHud. The content location of the frame is used with no regard to the padding and border. This will be fixed by changing the computeData and submitData methods of the BoundTextFields for X and Y position. They will now use the getLocation and setLocation methods of the frame.
Changeset:[5225]
comment:6 Changed 16 years ago by meddle
- Status changed from s3b_implementation_finished to s3c_implementation_ok
- Analysis_reviewers set to boyan
- Analysis_score changed from 0 to 3.5
- Imp._reviewers set to meddle, todor
- Design_score changed from 0 to 3.5
- Design_reviewers set to meddle, todor
- Imp._score changed from 0 to 3.5
Merged into [5238].
Note: See
TracTickets for help on using
tickets.