From 4f969f7fe2f0a5aa3e4f9124cd7e9359478deab0 Mon Sep 17 00:00:00 2001 From: twanvl Date: Thu, 8 Jan 2009 14:37:06 +0000 Subject: [PATCH] fixed text placement in multiple choice check lists git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1300 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/render/value/multiple_choice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/render/value/multiple_choice.cpp b/src/render/value/multiple_choice.cpp index 5843fb1e..ec667992 100644 --- a/src/render/value/multiple_choice.cpp +++ b/src/render/value/multiple_choice.cpp @@ -77,7 +77,7 @@ void MultipleChoiceValueViewer::drawChoice(RotatedDC& dc, RealPoint& pos, const dc.SetFont(style().font,1); RealSize text_size = dc.GetTextExtent(text); RealPoint text_pos = align_in_rect(ALIGN_MIDDLE_LEFT, text_size, RealRect(pos.x + size.width + 1, pos.y, 0,size.height)); - dc.DrawTextWithShadow(text, style().font, pos); + dc.DrawTextWithShadow(text, style().font, text_pos); size = add_horizontal(size, text_size); } // next position