diff options
Diffstat (limited to 'generic/Tabular.c')
-rw-r--r-- | generic/Tabular.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/generic/Tabular.c b/generic/Tabular.c index 5f508eb..42fa9e3 100644 --- a/generic/Tabular.c +++ b/generic/Tabular.c @@ -274,7 +274,9 @@ ComputeCoordinates(ZnItem item, &field_set->label_pos); } else { - ZnTransformPoint(wi->current_transfo, &tab->pos, + ZnPoint pos; + pos.x = pos.y = 0; + ZnTransformPoint(wi->current_transfo, &pos, &field_set->label_pos); } @@ -673,6 +675,7 @@ static ZnItemClassStruct TABULAR_ITEM_CLASS = { True, /* has_anchors */ "tabular", tabular_attrs, + Tk_Offset(TabularItemStruct, pos), Init, Clone, Destroy, |