This is an automated email from the ASF dual-hosted git repository.
alinakazi pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 0c06cdd TextFieldAutoSize added in mxroyale
0c06cdd is described below
commit 0c06cdd9de6a646768ca8f5fdb6f489138ef3cd4
Author: alinakazi <[email protected]>
AuthorDate: Fri Mar 5 14:57:59 2021 +0500
TextFieldAutoSize added in mxroyale
---
.../MXRoyale/src/main/royale/MXRoyaleClasses.as | 1 +
.../src/main/royale/mx/text/TextFieldAutoSize.as | 52 ++++++++++++++++++++++
2 files changed, 53 insertions(+)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
index 0b16418..9d66ddb 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/MXRoyaleClasses.as
@@ -378,6 +378,7 @@ internal class MXRoyaleClasses
import mx.display.NativeMenu; NativeMenu;
import mx.printing.PrintJobOptions; PrintJobOptions;
+ import mx.text.TextFieldAutoSize; TextFieldAutoSize;
}
diff --git
a/frameworks/projects/MXRoyale/src/main/royale/mx/text/TextFieldAutoSize.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/text/TextFieldAutoSize.as
new file mode 100644
index 0000000..d3951f7
--- /dev/null
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/text/TextFieldAutoSize.as
@@ -0,0 +1,52 @@
+////////////////////////////////////////////////////////////////////////////////
+//
+// Licensed to the Apache Software Foundation (ASF) under one or more
+// contributor license agreements. See the NOTICE file distributed with
+// this work for additional information regarding copyright ownership.
+// The ASF licenses this file to You under the Apache License, Version 2.0
+// (the "License"); you may not use this file except in compliance with
+// the License. You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+////////////////////////////////////////////////////////////////////////////////
+package mx.text
+{
+
+
+ /**
+ *
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ *
+ * @royalesuppresspublicvarwarning
+ */
+ public class TextFieldAutoSize extends Object
+ {
+ /**
+
+ * @langversion 3.0
+ * @playerversion Flash 9
+ * @playerversion AIR 1.1
+ * @productversion Flex 3
+ */
+ public function TextFieldAutoSize()
+ {
+ super();
+ }
+
+ public static const RIGHT:String = "right";
+ public static const LEFT:String = "left";
+ public static const CENTER:String = "center";
+
+ }
+
+}