Windows Phone Font Positioning With Readable Code
Join the DZone community and get the full member experience.Join For Free
Lecture for tonights class, which I would like to share with you dear reader, the first part is about how to position fonts on the screen using the least number lines of code. Unfortunately, it requires a lot of variables, but there you go, complexity comes in many forms. Variables are easy to understand, but the code is more messy than I like. But to make neat code requires that the code readers understand what I am trying to do, and that can be difficult.
Here is the end result:
Go take a look at the code and download the package to see how the positioning works. It'll take a bit of time to study.
Opinions expressed by DZone contributors are their own.