View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0002997 | NoesisGUI | Studio | public | 2024-01-08 18:36 | 2024-02-16 18:37 |
| Reporter | fllorens | Assigned To | dfranjic | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Target Version | Studio_Alpha | ||||
| Summary | 0002997: Weird margins when grouping a grid inside a viewbox | ||||
| Description | As seen here: https://youtu.be/_BVXMra08jo?feature=shared&t=1284 when grouping a grid that is child of a viewbox, inside another grid, weird margins are applied | ||||
| Steps To Reproduce |
| ||||
| Platform | Any | ||||
|
The problem of this and related tickets is from how elements are grouped/ungrouped inside single child containers. Right now we are creating the new parent, adding it to the single child container, and then moving the other elements inside the new parent. But the first operation is not possible because the container can only have 1 child at the same time. We need to find another way to implement this kind of operations. |
|
|
Just noting that this issue might also be related to 0002836 (unsure though, because templates are weird sometimes). The possible solution could be to create a group element in-memory, store the original content of a single child container into a smart Ptr<>, remove the single child container content, add the original content to the group element, set the group element as the content of the single child container. Unsure though as maybe detaching from visual tree and reattaching it is going to cause some assert/crash to happen. Maybe the solution would then be to Helper::Clone() the original content and add it to the group element and then just replace the content of a single child container. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-01-08 18:36 | fllorens | New Issue | |
| 2024-01-08 18:56 | jsantos | Target Version | => Studio_Alpha |
| 2024-01-08 18:56 | jsantos | Assigned To | => sfernandez |
| 2024-01-08 18:56 | jsantos | Status | new => assigned |
| 2024-01-08 19:28 | sfernandez | Relationship added | related to 0002902 |
| 2024-01-08 19:29 | sfernandez | Relationship added | related to 0002836 |
| 2024-01-08 19:31 | sfernandez | Note Added: 0009061 | |
| 2024-01-08 19:31 | sfernandez | Assigned To | sfernandez => dfranjic |
| 2024-01-09 16:53 | dfranjic | Note Added: 0009069 | |
| 2024-01-19 16:12 | fllorens | Description Updated | |
| 2024-01-22 11:16 | fllorens | Description Updated | |
| 2024-02-16 18:37 | dfranjic | Status | assigned => resolved |
| 2024-02-16 18:37 | dfranjic | Resolution | open => fixed |