mirror of https://github.com/axmolengine/axmol.git
Merge pull request #6386 from pipu/fixed_bug_ui_layout_clip
fixed the clipping of ui layout read from CocoStudio could not work
This commit is contained in:
commit
aa04176d83
|
@ -54,6 +54,8 @@ namespace cocostudio
|
|||
panel->setSize(Size(w, h));
|
||||
/**/
|
||||
|
||||
panel->setClippingEnabled(DICTOOL->getBooleanValue_json(options, "clipAble"));
|
||||
|
||||
bool backGroundScale9Enable = DICTOOL->getBooleanValue_json(options, "backGroundScale9Enable");
|
||||
panel->setBackGroundImageScale9Enabled(backGroundScale9Enable);
|
||||
int cr = DICTOOL->getIntValue_json(options, "bgColorR");
|
||||
|
|
Loading…
Reference in New Issue