Opened 15 years ago
Last modified 8 years ago
#6015 assigned enhancement
BTextView does not reformat its text when resized — at Initial Version
Reported by: | Trezker | Owned by: | axeld |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | Kits/Interface Kit | Version: | R1/alpha2 |
Keywords: | BTextView | Cc: | |
Blocked By: | Blocking: | ||
Platform: | All |
Description
The textRect isn't resized when the BTextView instance is.
I looked through TextView.cpp and found that it should work properly if _ResetTextRect() is called in BTextView::FrameResized.
BTextView::FrameResized(float width, float height) {
BView::FrameResized(width, height);
+ _ResetTextRect();
_UpdateScrollbars();
}
Note:
See TracTickets
for help on using tickets.