picoe / Eto

Cross platform GUI framework for desktop and mobile applications in .NET
Other
3.58k stars 325 forks source link

Mac: TreeView text has incorrect vertical align with source list style #73

Closed mojo2012 closed 11 years ago

mojo2012 commented 11 years ago

The TreeItems' text in a TreeView is not properly horizontally centered.

Bildschirmfoto 2012-12-28 um 20 27 01

cwensley commented 11 years ago

I do not see the problem there?

mojo2012 commented 11 years ago

eto

The upper image is taken from Finder. Do you see how the text in the items is centered? (the red lines)

The treeitem from eto forms on the other hand uses a different way to center vertically. I think in Finder the textfield in the tree item view is centered vertically, while in eto forms it is not centered but aligned on top.

But this is clearly not the way tree items in source lists work in other mac apps.

Btw, if you don't set the source list style, then the items are aligned correctly.

mojo2012 commented 11 years ago

I think I found a solution to this problem: pull request committed

cwensley commented 11 years ago

Awesome! Thanks.