Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #import "WeMacros.h"
- #import "WeViews.h"
- WePanel* panel = [[WePanel create]
- withOpaqueBackground:UIColorRGB(0xBFBFBF)];
- [[[panel addHorizontal:[NSArray arrayWithObjects:
- [[[WeButton createWithImage:@"button1.png"]
- setDownImage:@"button1_down.png"]
- addClickSelector:@selector(someSelector)
- target:self],
- [WeButton createWithImage:@"button2.png"],
- [WeButton createWithImage:@"button3.png"],
- nil]]
- withMargin:10]
- withHAlign:H_ALIGN_RIGHT
- vAlign:V_ALIGN_BOTTOM];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement