S
Scott Gifford
One other issue I'm having: I'm trying to devices of different sizes
and resolutions, including those that let you change from portrait to
landscape mode. Rather than doing tedious pixel calculations, I'd
like to just use the Dock property to lay things out automatically.
This almost works great.
The problem is that sometimes it's off by a pixel or so, and I can't
find a way to fix it. Here's a simple example. Create a new
Windows Mobile 5.0 SmartPhone app, drop in a Label component and dock
it to the bottom, then drop in a ListView component and dock it to the
center.
On my machine at least, the label sticks out by one pixel on either
side of the listbox. It doesn't cause any functional problems, but it
makes my app look very unpolished and unprofessional IMHO.
Is there a way to work around this? Or will I have to just live with
it or implement my own positioning?
Thanks,
----Scott.
and resolutions, including those that let you change from portrait to
landscape mode. Rather than doing tedious pixel calculations, I'd
like to just use the Dock property to lay things out automatically.
This almost works great.
The problem is that sometimes it's off by a pixel or so, and I can't
find a way to fix it. Here's a simple example. Create a new
Windows Mobile 5.0 SmartPhone app, drop in a Label component and dock
it to the bottom, then drop in a ListView component and dock it to the
center.
On my machine at least, the label sticks out by one pixel on either
side of the listbox. It doesn't cause any functional problems, but it
makes my app look very unpolished and unprofessional IMHO.
Is there a way to work around this? Or will I have to just live with
it or implement my own positioning?
Thanks,
----Scott.