Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Edited Issue: Zoombox fill & fit, NumericUpDown with percent [21935]

$
0
0
Hi,

Firstly, thank you for providing this framework. It's a great framework to work with!

I've updated the toolkit from Community edition 2.4 to 2.5 and have noticed two issues that I thought I would share.

The first is with the Zoombox. The fit and fill options seem to left justify the content instead of center it. They also behave a little differently in terms of the area they show but that is not much of an issue. I'm not sure if the left justify is intentional, but if it is how can I have it center the content instead?

The second is with percents on NumericUpDown (specifically DoubleUpDown). I saw the comment on the bug fix regarding percents but I think there is a regression here.

In 2.4, if I have FormatString="P1" it displays the value as percent but it also allows you to enter the value as percent and it's converted accordingly. For example, if I input 10 it assigns a value of 0.1.

With 2.5, the value is displayed correctly (10.0 %) but if I want to changed the value I need to type it in in decimal format. For example, I would have to input 0.12 to show 12.0 %. I tried setting the FormatString='{}{0:P1}'. In this case the box shows as text the format string, but if I type in 10 it will be correctly converted to 0.1. The box, however will continue to show the text of the format string despite assigning the correct value.

Regards,
Andrew
Comments: ** Comment from web user: BoucherS **

Hi,

Thanks for your comments.

The NumericUpDown issue will be fixed in v2.8.

As for the ZoomBox, can you add a snippet showing the issue ?


Viewing all articles
Browse latest Browse all 4964

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>