WeView2 icon indicating copy to clipboard operation
WeView2 copied to clipboard

WeView not showing up problems

Open dsowsy opened this issue 12 years ago • 2 comments

Going through the different layouts, http://charlesmchen.github.io/WeView2/TutorialLayouts.html

The layouts seem to work with the use* methods (ie. useVerticalDefaultLayout:) but don't with the add * methods, ie addSubviewWithFillLayout:)

The tutorials seem incorrect. Please advise.

dsowsy avatar Oct 04 '13 00:10 dsowsy

Please post your code.

charlesmchen avatar Oct 04 '13 13:10 charlesmchen

You can add a layout with this syntax:

WeView *weview1 = [[WeView alloc] init];
[weview1 addSubviewWithFillLayout:subview2];

This layout will only apply to subview2, not the others subviews of this weview1.

Also, I've eliminated the use* methods.

charlesmchen avatar Nov 12 '13 03:11 charlesmchen