Domanda

For some reason treeview nodes appear more spaced out on Windows Mobile 6.5 than on Windows Mobile 5. This is true of both physical devices and when using the emulator.

On Windows Mobile 5

enter image description here

On Windows Mobile 6.5

enter image description here

Because of the tiny PDA screen it would be very useful to get rid of the white space, to allow more information to be displayed.

I am using the .Net Compact Framework 3.5, and I have seen this behaviour on Windows Mobile 6.5 and 6.5.3

È stato utile?

Soluzione

The spacing is intentional and cannot be changed (without custom drawing the entire thing, which is not so easy in managed code), as WinMo 6.5 and later supposedly moved toward more "finger friendly" UIs.

I realize the link is for a ListView, but the TreeView in CE also supports custom drawing in the same way, and that link is the only custom drawn anything I've seen for the CF.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top