Rotation can now zoom in x and y directions separatly; text can be scaled stretched/compressed horizontally.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@520 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2007-07-07 16:19:17 +00:00
parent 1646aebc88
commit 9f567a512e
14 changed files with 137 additions and 85 deletions
+2 -2
View File
@@ -776,10 +776,10 @@ void TextValueEditor::determineSize(bool force_fit) {
int sbw = wxSystemSettings::GetMetric(wxSYS_VSCROLL_X);
RealPoint pos = rot.tr(style().getPos());
scrollbar->SetSize(
(int)(pos.x + rot.trS(style().width) + 1 - sbw),
(int)(pos.x + rot.trX(style().width) + 1 - sbw),
(int)pos.y - 1,
(int)sbw,
(int)rot.trS(style().height) + 2);
(int)rot.trY(style().height) + 2);
v.reset();
} else {
// Height depends on font