Hello,
I am developing an universal Windows 8.1 App, primary for Windows Phone 8.1. There are different screen sizes and resolutions of Windows Phone 8.1 smartphones, so I am scaling the controls (TextBoxes, Images, Buttons etc.) automatically by using Grids. This works great!
I am using XALM without Silverlight!
However, I have a problem with TextBoxes:
How shall I vertically center the text in a TextBox?
I can not use top-padding because the height of my TextBox depends on the screen resolution of the smartphone.
"VerticalContentAlignment" does not work in this case!
The style
<scrollviewer ...="" verticalalignment="Center" />
as a custom control template does not work, too.
Thanks for any advices!
Best wishes,
Miroslav Stimac