Permalink
Browse files

fix autosize on textfield

  • Loading branch information...
1 parent 65812d2 commit 0fd17790f1827fbd28a2187b5564d3883912fa5a Russ McMahon committed Feb 13, 2013
View
@@ -3,6 +3,4 @@
*~
src/tibb/arm
src/tibb/x86
-test/apps/tibbtest/arm
-test/apps/tibbtest/x86
build
View
@@ -14,7 +14,7 @@ New Features in this Release (3.1.0.4):
Notes in this Release (3.1.0.4):
--------------------------------
-1) When using Ti.UI.FILL on root windows there is a pixel shift towards bottom on top and right on left side. This only appears on the simulator. This is a visual issue and does not effect application functionality.
+When using Ti.UI.FILL on root windows there is a pixel shift towards bottom on top and right on left side. This only appears on the simulator. This is a visual issue and does not effect application functionality.
Implemented: Basic operations supported
@@ -50,7 +50,6 @@ Targeted for Beta Release:
* ScrollView TIMOB-8832
* Additional Window/Button/TextField/TabGroup/ImageView/Blob and Network functionality TIMOB-9605, TIMOB-10872, TIMOB-9604, TIMOB-10275, TIMOB-10873, TIMOB-10083, TIMOB-10871
-GA
Targeted for GA Release:
------------------------
@@ -71,6 +70,6 @@ Targeted for GA Release:
To compare the listed version with the installed SDK look at the content of the sdk_version.json file. It's located at the root of the installed BlackBerry SDK.
-The TIMOB-* entries refer to tickets in our Jira bug and feature tracking system. The tickets are public and can be viewed at https://jira.appcelerator.org/browse/TIMOB-<ticket number>.
+The TIMOB-* entries refer to tickets in our Jira bug and feature tracking system. The tickets are public and can be viewed at https://jira.appcelerator.org/browse/TIMOB-ticket number.
@@ -164,7 +164,7 @@ NativeControlObject::NativeControlObject(TiObject* tiObject, NATIVE_TYPE objType
layoutNode_.properties.height.valueType = Fill;
}
else if (objType == N_TYPE_LABEL || objType == N_TYPE_BUTTON || objType == N_TYPE_TOGGLEBUTTON ||
- objType == N_TYPE_SLIDER || objType == N_TYPE_PROGRESSBAR) {
+ objType == N_TYPE_SLIDER || objType == N_TYPE_PROGRESSBAR || N_TYPE_TEXT_FIELD) {
layoutNode_.properties.width.valueType = Defer;
layoutNode_.properties.height.valueType = Defer;
}
View
@@ -4,3 +4,8 @@ node_modules
*.sublime-workspace
*.a
*.o
+*.bar
+*/arm/o.le-v7/tibbtest
+*/arm/o.le-v7-g/tibbtest
+*/x86/o/tibbtest
+*/x86/o-g/tibbtest
@@ -1,17 +1,13 @@
var win1 = Titanium.UI.createWindow({
- backgroundColor:'green'
+ backgroundColor:'#000'
});
-var lbl = Ti.UI.createLabel({
- backgroundColor: 'red',
- text:'This is a label test',
- font:{fontSize:15},
- height:'auto',
- width:'auto',
- color:'#000'
+var usernameField = Ti.UI.createTextField({
+ width:'auto',
+ height:'auto',
+ hintText: 'Username',
+ top: 10,
+ left: 10
});
-
-
-win1.add(lbl);
-
-win1.open()
+win1.add(usernameField);
+win1.open();
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 0fd1779

Please sign in to comment.