Created
March 6, 2012 21:00
-
-
Save charlesmchen/1988939 to your computer and use it in GitHub Desktop.
WeViews Tutorial - Layers
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
#import "WeMacros.h" | |
#import "WeViews.h" | |
WePanel* wePanel1 = [[WePanel create] | |
withOpaqueBackground:UIColorRGB(0xBFBFBF)]; | |
[[wePanel1 addFill1[WeCustomImageView create:upImageName]] | |
withMargin:5]; | |
[[[wePanel1 addHorizontal:[NSArray arrayWithObjects: | |
[WeCustomImageView create:upImageName], | |
[WeButton createWithImage:@"button-left.png"], | |
[WeButton createWithImage:@"button-center.png"], | |
[WeButton createWithImage:@"button-right.png"], | |
nil]] | |
withVAlign:V_ALIGN_BOTTOM] | |
withMargin:20]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment