xxandyy / maratis

Automatically exported from code.google.com/p/maratis
0 stars 0 forks source link

[MGui] MGuiEditText is too wide #34

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If you do window->autoScale(), the MGuiEditTexts make the window way too large.
See screenshot.
Doing
editText->setAutoScaleFromText(true);
has no effect.

The workaround is setting the scale explicitly e.g.
editText->setScale(MVector2(150,20));

Original issue reported on code.google.com by hkwareho...@gmail.com on 18 Nov 2013 at 1:59

Attachments: