Fixed: rotation adjust code was overwriting scripts;

Fixed: positioning of stretched + rotated text

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@802 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-12-30 01:53:41 +00:00
parent 1b5326a3dd
commit abf4da9cff
5 changed files with 34 additions and 16 deletions
+2 -1
View File
@@ -86,7 +86,8 @@ void TextCtrl::onChangeSet() {
field->multi_line = multi_line;
style->width = 100;
style->height = 20;
style->left = style->top = 1;
style->left = 1;
style->top = 1;
style->font.color = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOWTEXT);
// assign to this control
IndexMap<FieldP,StyleP> styles; styles.add(field, style);