[
https://issues.apache.org/jira/browse/OFBIZ-10164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16342579#comment-16342579 ]
James Yong commented on OFBIZ-10164:
------------------------------------
Uploaded a 3rd version of the patch with the following improvements:
1. Improved CSS definition for each theme
Hi Jacques,
The splitter's common css definition is moved to the respective theme’s style.css.
Hi Taher,
I have migrate the patch to the new common-theme folder.
Can refer to the CommonScreens.xml file for an example on its usage.
If you know of other suitable location for the splitter(s), I can work on it to provide further examples.
Thanks.
> Splitter Widget
> ---------------
>
> Key: OFBIZ-10164
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10164> Project: OFBiz
> Issue Type: New Feature
> Components: framework
> Affects Versions: Trunk
> Reporter: James Yong
> Assignee: James Yong
> Priority: Minor
> Fix For: Trunk
>
> Attachments: OFBIZ-10164.patch, OFBIZ-10164.patch, OFBIZ-10164.patch, horizontal.png, vertical.png
>
>
> A new splitter widget that will use a tag named 'splitter'.
> This splitter tag has the following attributes:
> a. sizes = [25, 75] where the containers within will be splitted with a ratio of 25% and 75%
> b. parentId which is the ID of the parent container
> c. direction = vertical or horizonal (default)
> The splitter tag can only contains container(s) as immediate child.
> Using the library from
http://nathancahill.github.io/Split.js/ which is licensed under MIT license.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)