[jira] [Commented] (OFBIZ-10164) Splitter Widget

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-10164) Splitter Widget

Nicolas Malin (Jira)

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

Jacques Le Roux commented on OFBIZ-10164:
-----------------------------------------

From the peanuts gallery, I like this idea:
bq. Alternatively, if you like to make this a full solution, then we can design a full splitter (vertical and horizontal) system and replace completely any old CSS styles relating to splitting with this new tag architecture. However, this might require community consensus because it would probably break some existing implementations.
Please don't take it too seriously, I did not get a chance yet to get deeper in this issue, so just my 2cts...


> 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.
> Update on 20180128:
> 1) The patch comes with an example where you can view the splitter at https://localhost:8443/catalog/control/main
> 2) No need to add square brackets when defining sizes.
> 3) parentId attribute is removed,



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)