mirror of https://github.com/buggins/dlangui.git
fix #209
This commit is contained in:
parent
8912be6208
commit
6b767acaa4
|
@ -1380,7 +1380,8 @@ class StringGridWidget : StringGridWidgetBase {
|
||||||
dstring txt = cellText(col, row);
|
dstring txt = cellText(col, row);
|
||||||
Point sz = fnt.textSize(txt);
|
Point sz = fnt.textSize(txt);
|
||||||
Align ha = Align.Left;
|
Align ha = Align.Left;
|
||||||
applyAlign(rc, sz, ha, Align.VCenter);
|
//if (sz.y < rc.height)
|
||||||
|
// applyAlign(rc, sz, ha, Align.VCenter);
|
||||||
fnt.drawText(buf, rc.left + 1, rc.top + 1, txt, textColor);
|
fnt.drawText(buf, rc.left + 1, rc.top + 1, txt, textColor);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue