Fixed centering/right alignment of last line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5110,6 +5110,9 @@ bool wxRichTextParagraph::Layout(wxDC& dc, wxRichTextDrawingContext& context, co
|
||||
currentPosition.y += lineHeight;
|
||||
currentPosition.y += lineSpacing;
|
||||
lineCount ++;
|
||||
|
||||
// Apply paragraph styles such as alignment to the wrapped line
|
||||
ApplyParagraphStyle(line, attr, availableRect, dc);
|
||||
}
|
||||
|
||||
// Remove remaining unused line objects, if any
|
||||
|
Reference in New Issue
Block a user