Changed: Don't need to hardcode a text offset because the old font was not aligned
This commit is contained in:
parent
61c5cf3126
commit
49ffc68b2d
1 changed files with 3 additions and 3 deletions
|
@ -43,8 +43,8 @@ namespace NLGUI
|
||||||
_BmpLeftW= _BmpMiddleW= _BmpRightW= _BmpH= 0;
|
_BmpLeftW= _BmpMiddleW= _BmpRightW= _BmpH= 0;
|
||||||
_WMargin= 0;
|
_WMargin= 0;
|
||||||
_WMin= 0;
|
_WMin= 0;
|
||||||
_TextX= -2;
|
_TextX= 0;
|
||||||
_TextY= -2;
|
_TextY= 0;
|
||||||
_Setuped= false;
|
_Setuped= false;
|
||||||
_ViewText= NULL;
|
_ViewText= NULL;
|
||||||
_IsViewTextId= false;
|
_IsViewTextId= false;
|
||||||
|
@ -602,7 +602,7 @@ namespace NLGUI
|
||||||
_WMin= max(_WMin, _BmpLeftW + _BmpMiddleW + _BmpRightW);
|
_WMin= max(_WMin, _BmpLeftW + _BmpMiddleW + _BmpRightW);
|
||||||
|
|
||||||
// TextY
|
// TextY
|
||||||
_TextY= -2;
|
_TextY= 0;
|
||||||
prop = (char*) xmlGetProp( cur, (xmlChar*)"text_y" );
|
prop = (char*) xmlGetProp( cur, (xmlChar*)"text_y" );
|
||||||
if (prop)
|
if (prop)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue