silverlight 3.0 - SL3 TimePicker width resize -
I am using the latest version of SL Toolkit for SL3. Timepick works great but is a bit bigger before the real time there are so many white spots.
I can not find the size below 120 width by setting the MinWidth
and Width
but TextBox
and So the right part is hidden.
Does anyone face the same problem and have a fix for that? I tried overloading the ContentTemplate but without any luck.
You will need to set up TimeUpDownStyle instead, because the time picture control is a composite, in fact it There is a time-dropdown control inside (a template part) with a minimum set of 100 sets - and setting the style will help to fix it.
Consider using code like this to create a new minimum width of 30 for the time-down down of control:
& Lt; / Style & gt; & Lt; /Grid.Resources> & Lt; InputToolkit: Time Picture TimeupDown Style = "{static resource small minuWood}" />
Hope this helps!
Comments
Post a Comment