Wei Tjong Yao
|
1b2497dc10
Added new LoadChildXML() method to UIElement and exposed it to Script. Changed Editor app to call LoadChildXML() instead of LoadXML() to prevent child XML-chunk from accidentally modifying the parent element's tyle. Note: child XML-chunk does not require nested element tag anymore.
|
12 år sedan |
Wei Tjong Yao
|
2c10af2385
Reverted back the last changes.
|
12 år sedan |
Wei Tjong Yao
|
0927d087d4
Added instruction in the child XML-chunks for the Attribute Inspector to skip style processing for the root element as we do not want the child XML-chunk to affect its parent element besides creating new child element as per defined in the chunk.
|
12 år sedan |
Wei Tjong Yao
|
fe5b26abd7
Manipulation of UI-element's style in the Attribute Inspector's Style drop down list is now functional. At the moment new style is applied on top of existing attribute values (i.e. without first removing the effect of existing style). Adjusted DefaultStyle.xml to enable highlight on selected item in DropDownList.
|
12 år sedan |
Wei Tjong Yao
|
521ee691c3
Enhanced DropDownList to support showing of placeholder text when there is no selection. The text could be used to show a 'Please choose ...' kind of prompt. Rearranged child XML-chunk resources responsible for Attribute Inspector to remove duplicate definition. Added new child XML-chunk to display and manipulate applied style of the UI-element in the Editor (not yet fully functional). Adjusted DefaultStyle.xml to distinguish between auto and non-auto types. Added new method in Serializable to remove instance default and in UIElement to return applied style name, in preparation for future work.
|
12 år sedan |