Object position calculation correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5155,7 +5155,7 @@ bool wxRichTextParagraph::Layout(wxDC& dc, wxRichTextDrawingContext& context, co
|
|||||||
{
|
{
|
||||||
// We can move it to the correct position at this point
|
// We can move it to the correct position at this point
|
||||||
// TODO: probably need to add margin
|
// TODO: probably need to add margin
|
||||||
child->Move(GetPosition() + wxPoint(currentWidth + (wxMax(leftIndent, leftIndent + leftSubIndent)), currentPosition.y));
|
child->Move(GetPosition() + wxPoint(currentWidth + startOffset, currentPosition.y));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Cases:
|
// Cases:
|
||||||
|
Reference in New Issue
Block a user