How to resize multiple WPF controls when the text size changes? -


what's correct pattern resize controls when font size changes?

for example, used wpf designer make form, , placed ui elements toolbox. late in game got requirement font size of every ui element needs configurable, i'm thinking there has better way resize controls when font size changes. right i'm doing alot of code behind calculations on margin properties.

for such cases place control inside grids , stackpanels, way font size won't affect layout, stretchable.

never place controls on window using absolute coordinates.


Comments

Popular posts from this blog

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -