Skip to content

Commit

Permalink
fixing select drop down width so it appears in iphone
Browse files Browse the repository at this point in the history
  • Loading branch information
ssoper committed Jun 5, 2010
1 parent 41c6a87 commit 292f5cc
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 30 deletions.
Binary file added Resources/default_app_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 5 additions & 5 deletions Resources/javascripts/current_alerts.js
Expand Up @@ -25,8 +25,8 @@ html +="</body></html>";
var selectView = Titanium.UI.createWebView({
top: 0,
left: 0,
height: 50,
width: 'auto',
width: win.width,
height: (Ti.Platform.name != 'android' ? 44 : 48),
html: html
});

Expand All @@ -36,9 +36,9 @@ Titanium.App.addEventListener("set_category_value", function(ev){

var data = [{title:'Loading...'}];
var tableView = Titanium.UI.createTableView({
top: 50,
left: 0,
data:data
top: 50,
left: 0,
data:data
});

//var rowWebView = Titanium.UI.createWebView({
Expand Down
6 changes: 4 additions & 2 deletions build/iphone/Info.plist
Expand Up @@ -9,9 +9,9 @@
<key>CFBundleExecutable</key>
<string>${EXECUTABLE_NAME}</string>
<key>CFBundleIconFile</key>
<string>appicon.png</string>
<string>default_app_logo.png</string>
<key>CFBundleIdentifier</key>
<string>com.appcelerator.titanium</string>
<string>org.rhok.alertme</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
Expand Down Expand Up @@ -41,5 +41,7 @@
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIStatusBarStyle</key>
<string>UIStatusBarStyleDefault</string>
</dict>
</plist>
6 changes: 3 additions & 3 deletions build/iphone/Resources/MainWindow.xib
Expand Up @@ -131,7 +131,7 @@
</object>
<string>{{438, 320}, {320, 480}}</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
<string>TiApp</string>
<string>TitaniumApp</string>
<string>com.apple.InterfaceBuilder.IBCocoaTouchPlugin</string>
</object>
</object>
Expand All @@ -157,15 +157,15 @@
<object class="NSMutableArray" key="referencedPartialClassDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBPartialClassDescription">
<string key="className">TiApp</string>
<string key="className">TitaniumApp</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="outlets">
<string key="NS.key.0">window</string>
<string key="NS.object.0">UIWindow</string>
</object>
<object class="IBClassDescriptionSource" key="sourceIdentifier">
<string key="majorKey">IBProjectSource</string>
<string key="minorKey">../Classes/TiApp.h</string>
<string key="minorKey">../Classes/TitaniumApp.h</string>
</object>
</object>
</object>
Expand Down
Binary file added build/iphone/Resources/default_app_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 12 additions & 12 deletions build/iphone/main.m
Expand Up @@ -7,19 +7,19 @@
#define _QUOTEME(x) #x
#define STRING(x) _QUOTEME(x)

NSString * const TI_APPLICATION_DEPLOYTYPE = @"__DEPLOYTYPE__";
NSString * const TI_APPLICATION_ID = @"__APP_ID__";
NSString * const TI_APPLICATION_PUBLISHER = @"__APP_PUBLISHER__";
NSString * const TI_APPLICATION_URL = @"__APP_URL__";
NSString * const TI_APPLICATION_NAME = @"__APP_NAME__";
NSString * const TI_APPLICATION_VERSION = @"__APP_VERSION__";
NSString * const TI_APPLICATION_DESCRIPTION = @"__APP_DESCRIPTION__";
NSString * const TI_APPLICATION_COPYRIGHT = @"__APP_COPYRIGHT__";
NSString * const TI_APPLICATION_GUID = @"__APP_GUID__";
BOOL const TI_APPLICATION_ANALYTICS = __APP_ANALYTICS__;
NSString * const TI_APPLICATION_DEPLOYTYPE = @"development";
NSString * const TI_APPLICATION_ID = @"org.rhok.alertme";
NSString * const TI_APPLICATION_PUBLISHER = @"not specified";
NSString * const TI_APPLICATION_URL = @"not specified";
NSString * const TI_APPLICATION_NAME = @"AlertMe";
NSString * const TI_APPLICATION_VERSION = @"1.0";
NSString * const TI_APPLICATION_DESCRIPTION = @"not specified";
NSString * const TI_APPLICATION_COPYRIGHT = @"not specified";
NSString * const TI_APPLICATION_GUID = @"d7e560c5-1244-48f7-a78d-422a3b5b1ac3";
BOOL const TI_APPLICATION_ANALYTICS = true;

#ifdef TARGET_IPHONE_SIMULATOR
NSString * const TI_APPLICATION_RESOURCE_DIR = @"__APP_RESOURCE_DIR__";
#ifdef DEBUG
NSString * const TI_APPLICATION_RESOURCE_DIR = @"/Users/ssoper/workspace/AlertMe/build/iphone/build/Debug-iphonesimulator/AlertMe.app";
#endif

int main(int argc, char *argv[]) {
Expand Down
16 changes: 8 additions & 8 deletions tiapp.xml
@@ -1,13 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<ti:app xmlns:ti="http://ti.appcelerator.org">
<id>org.rhok.alertme</id>
<name>AlertMe</name>
<version>1.0</version>
<publisher>not specified</publisher>
<url>not specified</url>
<description>not specified</description>
<copyright>not specified</copyright>
<icon>appicon.png</icon>
<id>org.rhok.alertme</id>
<name>AlertMe</name>
<version>1.0</version>
<publisher>not specified</publisher>
<url>not specified</url>
<description>not specified</description>
<copyright>not specified</copyright>
<icon>default_app_logo.png</icon>
<persistent-wifi>false</persistent-wifi>
<prerendered-icon>false</prerendered-icon>
<statusbar-style>default</statusbar-style>
Expand Down

0 comments on commit 292f5cc

Please sign in to comment.