Skip to content

Commit

Permalink
Merge pull request #63 from pingwang2011/timob-11526
Browse files Browse the repository at this point in the history
timob-11526: KitchenSink: Font's inconsistency in KitchenSink menue
  • Loading branch information
srahim committed Oct 18, 2012
2 parents ea346ae + 6f827cc commit 9f696b9
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 5 deletions.
3 changes: 2 additions & 1 deletion Resources/ui/common/BaseUIWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ function BaseUIWindow(title) {
// create table view
for (var i = 0; i < data.length; i++ ) {
var d = data[i];
if (d.touchEnabled) {
// On Android, if touchEnabled is not set explicitly, its value is undefined.
if (d.touchEnabled !== false) {
d.color = '#000';
}
d.font = {fontWeight:'bold'};
Expand Down
3 changes: 2 additions & 1 deletion Resources/ui/common/MashupsWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ function MashupsWindow(title) {
// create table view
for (var i = 0; i < data.length; i++ ) {
var d = data[i];
if (d.touchEnabled) {
// On Android, if touchEnabled is not set explicitly, its value is undefined.
if (d.touchEnabled !== false) {
d.color = '#000';
}
d.font = {fontWeight:'bold'};
Expand Down
3 changes: 2 additions & 1 deletion Resources/ui/common/PhoneWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ function PhoneWindow(title) {
// create table view
for (var i = 0; i < data.length; i++ ) {
var d = data[i];
if (d.touchEnabled) {
// On Android, if touchEnabled is not set explicitly, its value is undefined.
if (d.touchEnabled !== false) {
d.color = '#000';
}
d.font = {fontWeight:'bold'};
Expand Down
3 changes: 2 additions & 1 deletion Resources/ui/common/PlatformWindow.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ function PlatformWindow(title) {
// create table view
for (var i = 0; i < data.length; i++ ) {
var d = data[i];
if (d.touchEnabled) {
// On Android, if touchEnabled is not set explicitly, its value is undefined.
if (d.touchEnabled !== false) {
d.color = '#000';
}
d.font = {fontWeight:'bold'};
Expand Down
3 changes: 2 additions & 1 deletion Resources/ui/common/baseui/views.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ function views(_args) {
// create table view
for (var i = 0; i < data.length; i++ ) {
var d = data[i];
if (d.touchEnabled) {
// On Android, if touchEnabled is not set explicitly, its value is undefined.
if (d.touchEnabled !== false) {
d.color = '#000';
}
d.font = {fontWeight:'bold'};
Expand Down
1 change: 1 addition & 0 deletions Resources/ui/handheld/ios/baseui/dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ function dashboard(_args) {
title:_args.title
});
win.backgroundColor = '#13386c';
win.orientationModes = [Ti.UI.PORTRAIT];

var data = [];
var labels = ['account','cases','calls','contacts','emps','leads','meetings','opps','tasks'];
Expand Down

0 comments on commit 9f696b9

Please sign in to comment.