Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (styles)
Browsing latest articles
Browse All 20 View Live

CommonJS Styles with Images

I need help with image paths in CommonJS modules that use a shared styles.js object. I have an app I'm developing using the base CommonJS scaffolding in the Documentation Example CommonJS on GitHub....

View Article



Unable to get JSS to work consistently

Hello everyone - I've looked around and haven't found an item on JSS that's helped so starting a new thread. I am trying to test out JSS to see if its feasible to use within my application - for the...

View Article

How to use system default theme on android

How to use the system's default theme for android operating system ?

View Article

Supporting Oriention change on Alloy

I have noticed that Alloy just copy the styles into any created views, however, if I need to change the view's style after an orientation update event, I don't have any way to reach these styles. Is...

View Article

Global Styles - font-family

Hi all. I'm running under Titanium SDK 3.0.2 and iOS 6.1. Any idea why this doesn't work? app.jsvar self = Ti.UI.createWindow({  className:'mainWindowClass' });   var myLabel = Ti.UI.createLabel({...

View Article


Can we apply control's style in jss dynamically?

Hello, I want to apply style on control dynamically. for example: index.tss".label1":{ font : {fontWeight : "bold", fontSize : 16}, color: 'red' } "label2":{ font : {fontWeight : "bold", fontSize :...

View Article

styles blackberry 10

we can put a style different from the buttons in blackberry 10? change colors,borders,images....etc

View Article

Where to find complete docs about Alloy TSS?

Hi, I did search the docs but I couldn't seem to find the complete list of alloy TSS properties. I am particularly searching for the property of a selected Tab inside TabGroup. It would be really...

View Article


Best Practices for "global" objects

Hi, all I have a problem I'm sure most have encountered, but being new to this, I have no idea what's the best way to approach it I have some styles that need to be applied dynamically to convey...

View Article


Assign .tss styles to dynamically created objects in the controller

Hello, I am trying to assign .tss styles to dynamically created objects. This is my xml View <Alloy> <Window> <TableView id="tableView" class="menu-table-view"/> </Window>...

View Article

Alloy dynamic styling: access app raw style and edit styles

Hi there, I'm exploring the new possibilities of dynamic styling of Alloy 1.2.0. I'm aware that it is not officially released, but the api seems pretty well defined and implemented and there's a good...

View Article

Styling Tabs (Android)

I have an Android app using tabs and a tab group. While I can style the windows I can't seem to style the tabs themselves or the background of the tab group. Is this possible?

View Article

app.tss and dynamic styles

Hello, A couple of questions regarding app.tss and styles in general When adding any font declaration, be it fontSize, or family, in any other file, the entire font declaration will be overridden... is...

View Article


Alloy Style Conditional Code

Hey, i've created some views for the iphone 4 and now i wanna to adopt them for iphone 5. (There are just a several properties that are changing) Question: is there any option to differ between retina...

View Article

Android Back Button on Window Action Bar

Hi how can I add a back button on the upper left window of my current window in Android? Here's the screenshot: http://d.pr/i/Pf1F

View Article


Dynamic Styling - Error attempting to apply api example to project.

Hi all, Getting a feel for dynamic styles by trying to apply the api doc example to my own project. I want to apply hi-res/low-res styling to my UI elements at runtime rather than building separate...

View Article

Styles constants on Alloy

Hi, Is there any way to use custom constans in the tss files? Something like this."Label.largeBig": { font: customContants.fonts.large, color: customContants.colors.darkRed } Then somewhere in the code...

View Article


Android not using it's tss file

Titanium 3.2.3 Android 4.4 Mac 10.9.3 inside app/styles/ are my styles for iphone. and inside app/styles/android/ are my styles for android. This is what the docs said styles and other elements should...

View Article

Web App default styles

How do i change default styles from an Web App? I would like to define my custom css styles OR (and even better) find online already some custom css (the default ones from Titanium are gray, and quite...

View Article

Styling issues when opening windows

I've made a topic on it and now I've figured out a way to get it to behave the way I want, I'd like your opinion on this workaround. Okay, here's the issue.. when opening windows on my ipod 4 touch,...

View Article
Browsing latest articles
Browse All 20 View Live




Latest Images