Created
May 1, 2010 17:02
-
-
Save rklancer/386489 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
introView: SC.StackedView.design({ | |
layout: { top: 20, bottom: 20 }, | |
childViews: [ | |
SC.LabelView.design(SC.StaticLayout, { | |
useStaticLayout: YES, | |
classNames: ['append-to-me'], | |
escapeHTML: NO, | |
displayValue: "So, I'm a big ol' string of text. <br><br>And I'm another string of text." | |
})] | |
}) | |
... | |
Later... | |
> SC.$('.append-to-me').append("<br>If you could just go ahead there and append me this weekend, that would be great. <br> Mmm-kay?") | |
// Nothing is visible! The introView's inline-styled height does not change to stretch to its childView |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment