質問

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

役に立ちましたか?

解決

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.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top