View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003246 | NoesisGUI | Studio | public | 2024-04-17 19:14 | 2024-04-22 15:55 |
| Reporter | fllorens | Assigned To | maherne | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | fixed | ||
| Product Version | Studio_Alpha | ||||
| Target Version | Studio_Alpha | Fixed in Version | Studio_Alpha | ||
| Summary | 0003246: MathConverter expander not expanding | ||||
| Description | As seen here: https://youtu.be/gYt0Rsl72q8?feature=shared&t=70 Creating a binding in a StackPanel to the Canvas.Left and Canvas.Top properties is not working properly. As a result the MathConverter becomes unexpandable. Attaching 2 simplified files, before and after trying to create the binding. | ||||
| Steps To Reproduce |
| ||||
| Attached Files | MathConverterAfter.xaml (1,706 bytes)
<Page
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:noesis="clr-namespace:NoesisGUIExtensions"
Background="#FF4D5052"
mc:Ignorable="d">
<Grid>
<Grid
Width="579"
Height="274"
Margin="485,0,0,0"
HorizontalAlignment="Center"
VerticalAlignment="Top">
<Rectangle
x:Name="WidthSource"
Width="465"
Height="274"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Fill="#FFF4F4F5"
Stroke="#FF000000" />
</Grid>
<Canvas
Width="1417.261"
Height="428"
Margin="0,264.94,0,0"
HorizontalAlignment="Right"
VerticalAlignment="Center">
<StackPanel Canvas.Left="{Binding Path=ActualWidth, ElementName=WidthSource}">
<Canvas.Left>
<Binding Path="ActualWidth" ElementName="WidthSource">
<Binding.Converter>
<noesis:MathConverter/>
</Binding.Converter>
</Binding>
</Canvas.Left>
<Ellipse
Width="153"
Height="153"
Fill="#FF468AE3"
Stroke="#FF000000" />
</StackPanel>
</Canvas>
</Grid>
</Page> MathConverterBefore.xaml (1,332 bytes)
<Page
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:noesis="clr-namespace:NoesisGUIExtensions"
Background="#FF4D5052"
mc:Ignorable="d">
<Grid>
<Grid
Width="579"
Height="274"
Margin="485,0,0,0"
HorizontalAlignment="Center"
VerticalAlignment="Top">
<Rectangle
x:Name="WidthSource"
Width="465"
Height="274"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Fill="#FFF4F4F5"
Stroke="#FF000000" />
</Grid>
<Canvas
Width="1417.261"
Height="428"
Margin="0,264.94,0,0"
HorizontalAlignment="Right"
VerticalAlignment="Center">
<StackPanel>
<Ellipse
Width="153"
Height="153"
Fill="#FF468AE3"
Stroke="#FF000000" />
</StackPanel>
</Canvas>
</Grid>
</Page> | ||||
| Platform | Any | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2024-04-17 19:14 | fllorens | New Issue | |
| 2024-04-17 19:14 | fllorens | File Added: MathConverterAfter.xaml | |
| 2024-04-17 19:14 | fllorens | File Added: MathConverterBefore.xaml | |
| 2024-04-17 19:21 | fllorens | Description Updated | |
| 2024-04-18 15:17 | jsantos | Assigned To | => maherne |
| 2024-04-18 15:17 | jsantos | Status | new => assigned |
| 2024-04-18 15:17 | jsantos | Product Version | => Studio_Alpha |
| 2024-04-18 15:17 | jsantos | Target Version | => Studio_Alpha |
| 2024-04-22 15:55 | maherne | Status | assigned => resolved |
| 2024-04-22 15:55 | maherne | Resolution | open => fixed |
| 2024-04-22 15:55 | maherne | Fixed in Version | => Studio_Alpha |