You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "James Yong (JIRA)" <ji...@apache.org> on 2018/01/21 16:11:00 UTC

[jira] [Comment Edited] (OFBIZ-10164) Splitter Widget

    [ https://issues.apache.org/jira/browse/OFBIZ-10164?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16333568#comment-16333568 ] 

James Yong edited comment on OFBIZ-10164 at 1/21/18 4:10 PM:
-------------------------------------------------------------

Uploaded a 2nd version of the patch with the following improvements.
1) Improved documentation
2) No need for define Id of the parent container
3) Core CSS remains in split.css while custom CSS for the Commons Widget is defined in the style.css file of each theme.

P.S.
4) Also removed the need of square brackets for the 'sizes' attribute value.


was (Author: jamesyong):
Uploaded a 2nd version of the patch with the following improvements.
1) Improved documentation
2) No need for define Id of the parent container
3) Core CSS remains in split.css while custom CSS for the Commons Widget is defined in the style.css file of each theme.

> 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, 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)