Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timob 7856 FILL/SIZE Layout implementation. #1555

Merged
merged 21 commits into from Mar 5, 2012
Merged

Timob 7856 FILL/SIZE Layout implementation. #1555

merged 21 commits into from Mar 5, 2012

Conversation

nebrius
Copy link
Contributor

@nebrius nebrius commented Mar 5, 2012

No description provided.

@@ -57,9 +57,9 @@ define(["Ti/_/declare", "Ti/_/UI/FontWidget", "Ti/_/dom", "Ti/_/css", "Ti/_/styl
}));
},

_defaultWidth: "auto",
_defaultWidth: Ti.UI.SIZE,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should just be UI.SIZE.

if (type === "String") {
if (x === "auto") {
convertAutoToUndef && (x = undef);
if (x === Ti.UI.SIZE) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change this to

if (x === require("Ti/UI").SIZE) {

@cb1kenobi
Copy link
Contributor

Code reviewed and tested. Request accepted.

cb1kenobi added a commit that referenced this pull request Mar 5, 2012
Timob 7856 FILL/SIZE Layout implementation.
@cb1kenobi cb1kenobi merged commit 85875dc into tidev:master Mar 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants