View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0001552 | NoesisGUI | C# SDK | public | 2019-09-09 14:16 | 2020-07-16 11:50 |
| Reporter | lupod | Assigned To | sfernandez | ||
| Priority | normal | Severity | major | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | 2.2.3 | ||||
| Target Version | 3.0.4 | Fixed in Version | 3.0.4 | ||
| Summary | 0001552: Sharing column or row sizes between grids with BaseDefinition.ShareSizeGroup does not work. | ||||
| Description | Columns (or rows) in different grids can sync their sizes using the ShareSizeGroup attribute. This requires the Grid.IsSharedSizeScope property on any ancestor to be set to true. The ShareSizeGroup attribute has no effect and the official example, which works in Blend, does not work in Noesis (see below). The feature is described in this article from the .NET docs: https://docs.microsoft.com/en-us/dotnet/framework/wpf/controls/how-to-share-sizing-properties-between-grids | ||||
| Steps To Reproduce | Try the example from the .NET docs, it does not work: (https://docs.microsoft.com/en-us/dotnet/framework/wpf/controls/how-to-share-sizing-properties-between-grids) Here is a simplified version of the code sample from the link above, but with the (in Noesis unsupported) Grid.ShowGridLines removed. And I removed the toggling logic. Expected Result: The columns and row of the right grid should be resized to the corresponding sizes in the left grid. | ||||
| Attached Files | |||||
| Platform | Windows | ||||
|
Thanks for the awesome report! |
|
|
@jsantos, hello! I wonder if you can consider including this in 3.0.3? |
|
|
Ok, we will study this feature and see if we can include it in the next version. |
|
|
I've implemented a hacky version of this feature with the attached property. It's a nightmare ha-ha! :-) I wish to see a proper support of this feature in NoesisGUI but now I know how much pain it is to do something like this. :-) By the way, I've attached a screenshot to demonstrate where this feature is useful in our case. All the columns are properly aligned but in fact, this is a composition of several independent grids. Different weapons have different sets of stats that are defined in different XAML files with a ton of visibility binding and conditions... Regards! |
|
|
We didn't have time to include it in 3.0.3 but it is finally finished for our next release. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2019-09-09 14:16 | lupod | New Issue | |
| 2019-09-09 14:16 | lupod | Tag Attached: C# | |
| 2019-09-09 14:16 | lupod | Tag Attached: Unity | |
| 2019-09-09 14:16 | lupod | Tag Attached: xaml | |
| 2019-09-09 14:16 | lupod | File Added: expected.png | |
| 2019-09-09 14:16 | lupod | File Added: actual.png | |
| 2019-09-09 14:17 | lupod | Steps to Reproduce Updated | |
| 2019-09-09 14:23 | lupod | Description Updated | |
| 2019-09-09 14:23 | lupod | Steps to Reproduce Updated | |
| 2019-09-09 14:26 | lupod | Category | Unity3D => C# SDK |
| 2019-09-09 20:49 | jsantos | Note Added: 0005957 | |
| 2019-09-10 03:12 | sfernandez | Assigned To | => sfernandez |
| 2019-09-10 03:12 | sfernandez | Status | new => assigned |
| 2019-09-10 03:12 | sfernandez | Target Version | => 2.3.0 |
| 2020-06-15 10:18 | ai_enabled | Note Added: 0006439 | |
| 2020-06-18 13:12 | sfernandez | Note Added: 0006443 | |
| 2020-06-18 13:12 | sfernandez | Target Version | => 3.0.3 |
| 2020-07-13 13:32 | jsantos | Target Version | 3.0.3 => 3.0.4 |
| 2020-07-14 05:45 | ai_enabled | File Added: Screenshot at 07-41-02.png | |
| 2020-07-14 05:45 | ai_enabled | Note Added: 0006537 | |
| 2020-07-16 11:50 | sfernandez | Status | assigned => resolved |
| 2020-07-16 11:50 | sfernandez | Resolution | open => fixed |
| 2020-07-16 11:50 | sfernandez | Fixed in Version | => 3.0.4 |
| 2020-07-16 11:50 | sfernandez | Note Added: 0006538 |