Community Questions & Answers

Wrap annotation title text?

Im not finding a way to wrap the title text of an annotation ...is it even possible?..I even tried to split the title and use a \n , \r or \r\n characters and mash the strings together but its not working. Has anyone found a solution when your title is...

How to create title bar on window

I have tried to create title bar on window but fail. Below is my coding. May I know what is wrong? How to display title bar on top of window? What I have missed? Thx ~~~ var win1 = Titanium.UI.createWindow({ title:'Title 1', }); ~~~ SDK 1.5...

Title does not show on simple window

I have started a new app and I am unable to make a titlebar appear on my window. Do I need to use tab groups to get a title bar? I do not need tabs for this app. I am testing in iPhone simulator and see the same results across 3.2-4.2 ~~~ var indexWin =...

Undesired behavior with buttons !!

~~~ var button = Titanium.UI.createButton({ backgroundImage : 'image/button.png', backgroundSelectedImage : 'image/button_active.png', height : 31, width : 62, right : 106, top : 220, color : '#000', title:'HELLO' }); ~~~ This is the code I am...

Titanium SDK 2.1.0 GA Can change window title

After moving on to SDK v2.1.0 GA My App can no longer update a window title, however it can update from titleid (i18n) but what I'm trying to accomplish is to update the title dynamically. I tried to revert to SDK v2.0.3 it works, but I need the swipe...

Create a tabbed window without a title?

Hi, How do I create a tabbed window without a title? I'm doing this at the moment, but the title always shows: ~~~ var homeWin = Ti.UI.createWindow({ url:'home.js', backgroundImage: 'images/Default.png' }); var homeTab = Ti.UI.createTab({ ...

Tableview Title Help

hi i would like to know if there is a way to have coded in two titles for each item in table view. native to iOS and Android. For example Show title of Tab on top and below that show a dollar amount or the actual option that is enabled.

Can't remove window title bar in Android

I am porting an iOS app to Android and after creating a new window and webview to browse Internet, the name of the app is at the top of the display. This only happens on Android. I don't know how to remove this bar across the top. Here is my...

how to change my app title in chinese

i can change my title in english,but i can't change my app title in chinese. the error is Traceback (most recent call last): File "/Users/apple/Library/Application Support/Titanium/mobilesdk/osx/2.0.2.v20120418121806/iphone/builder.py", line...

Button: title & icon align

Hi all, I was wondering if is possible to create a button where the icon is on the top, and the title is on the bottom. Thanks and regards

Fit button width to title's width

I'm trying to create a button whose width automatically fits its title's width. I've been trying to set some values to width and height properties and I've noticed this behaviour: - If no values are set to height and width, the button takes up the whole...

Button title

I use this code with buttons but every time I clicked in any button the text of last button only changed.. ` for(var i=0;i<5;i++){ var followButton = Titanium.UI.createButton({ title: 'Follow', _index:...

Change tab title on Android?

For starters I need to say that this is my first day developing with Titanium. But I haven't found any answer to how to accomplish this after spent way too much time googling the issue. ### I have a problems trying to change a tab's title...

Add a title to a new window in Titanium

I'm trying to open a new window via a button to the configuration page but how do you add a title (at the top of the screen) to a newly created window? On the starting page, I have a button created to open a new page as: var btnConfig =...

How can i hide titlebar on a window

var win1 = Titanium.UI.createWindow({ backgroundColor:'#fff', barColor:'#005524', url:'main_windows/homepage.js' }); what command can i write so it doesnt put the title on top, on the bar.

Modal window on Android

Hello I have a modal window on Android, and it doesn't have a title even when I set the title property. The application is full-screen. I would like to have this modal window with a title. Can I do this? Thank you

Showing 1-50 of 73 1 2