[dia/dia-0-97] Bug 614134 - align attribute of textboxes does not work
- From: Hans Breuer <hans src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dia/dia-0-97] Bug 614134 - align attribute of textboxes does not work
- Date: Fri, 7 Jan 2011 12:18:52 +0000 (UTC)
commit 5b6ad52da5a918b2f6034c1c115828dcff5fb4f3
Author: Hans Breuer <hans breuer org>
Date: Tue Jul 27 16:56:21 2010 +0200
Bug 614134 - align attribute of textboxes does not work
The text_align given from the shape file was not used when creating new_text() of the custom object.
objects/custom/custom_object.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/objects/custom/custom_object.c b/objects/custom/custom_object.c
index 0dfd3f6..c45ed5c 100644
--- a/objects/custom/custom_object.c
+++ b/objects/custom/custom_object.c
@@ -1598,7 +1598,7 @@ custom_create(Point *startpoint,
p.x += elem->width / 2.0;
p.y += elem->height / 2.0 + font_height / 2;
custom->text = new_text("", font, font_height, &p, &custom->border_color,
- default_properties.alignment);
+ info->text_align);
text_get_attributes(custom->text,&custom->attrs);
dia_font_unref(font);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]