tiagobento opened a new issue, #3767: URL: https://github.com/apache/incubator-kie-tools/issues/3767
When creating a new Boxed Expression on the DMN Editor, the default structure of the created expression already respects the selected Data Type. Some Data Types, though, have long names on their properties, making expression look "smooshed" when users first create them. To address this, users need to manually resize all columns of their recently created expression, making it not so pleasant to use the DMN Editor's Boxed Expression Editor in this case. There already exists a mechanism to do this when you double-click the resizer handle of any column, but it's manual and can only be done for one column at the time. --- We need to pre-calculate the size of each column of the BeeTable based on the data that we know will be in the cells, based on its Data Type. This can be done by using the same mechanism that the resizer handle double-click does. ```[tasklist] ### Acceptance criteria - [ ] New expressions on the DMN Editor's Boxed Expression Editor should always come with their columns sized to fit the text that we know it will contain based on their Data Type. - [ ] We need to respect the `minWidth` of each column individually. - [ ] We need to setup a `maxWIdth` that is going to be used for this new feature. A good idea would be looking at the available space on the screen and trying to make the new expression not occupy more space than what's available on the screen. There can be cases where this will not be possible, and we'll need to grow the expression to more than the screen can fit, thus adding a horizontal scrollbar. - [ ] Document the decisions on this issue for all cases and the reasoning behind each behavior. ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
