mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-22 14:35:52 +00:00
fixed: A3 demo app layout issues
This commit is contained in:
1 parent
57858db161
commit
e42d5b860e
1 file changed
+6
-2
@@ -390,10 +390,13 @@
|
||||
_ruleEditor = [[CPRuleEditor alloc] initWithFrame:CGRectMake(0,0, CGRectGetWidth(bounds), ruleEditorHeight)];
|
||||
[_ruleEditor setRowHeight:25.0];
|
||||
[_ruleEditor setCanRemoveAllRows:YES];
|
||||
|
||||
|
||||
[ruleContainer setAutoresizingMask:CPViewWidthSizable];
|
||||
|
||||
_ruleDelegate = [[RuleDelegate alloc] init];
|
||||
[_ruleEditor setDelegate:_ruleDelegate];
|
||||
|
||||
[_ruleEditor setAutoresizingMask:CPViewWidthSizable];
|
||||
|
||||
[_ruleEditor setTarget:self];
|
||||
[_ruleEditor setAction:@selector(ruleEditorAction:)];
|
||||
|
||||
@@ -489,6 +492,7 @@
|
||||
[textScroll setAutohidesScrollers:YES];
|
||||
|
||||
var textView = [[CPTextView alloc] initWithFrame:[textScroll bounds]];
|
||||
[textView setAutoresizingMask:CPViewWidthSizable | CPViewHeightSizable];
|
||||
[textView setEditable:YES];
|
||||
[textView setRichText:YES];
|
||||
[textView setString:@"Select text here and use the 'Format' or 'Edit' menus.\n\n(This is a Rich Text enabled CPTextView)"];
|
||||
|
||||
Reference in new issue
Block a user