taoujouti / macwidgets

Automatically exported from code.google.com/p/macwidgets
0 stars 0 forks source link

Left free Space for Items in SourceList is to high. #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
There is too much free space on the left before an SourceListItem is drawn.

This space would be used for the collapse/expand arror if the item is
expandable.

Apples implementations handles this more intelligent. If no Item is
expandable, they do not reserve this space.

Just try for yourself with iTunes. Check that no Item is expandable, then
create a playlist folder and add a playlist. 

Best,
Peter

Original issue reported on code.google.com by studp...@gmail.com on 2 Jan 2009 at 12:10

GoogleCodeExporter commented 9 years ago
Astute eye Peter. I'm aware of this difference, and have thus far ignored it 
because of how painful it will be to 
fix! Now that someone else has noted it, I'll move it up the list of things to 
fix.

-Ken

Original comment by kenneth....@gmail.com on 2 Jan 2009 at 5:15

GoogleCodeExporter commented 9 years ago
Yeah... all the small things. 

But i don't think it's that difficult to implement. The painful thing is that 
you
have to check whenever an item is added/changed and redraw everything if there 
are
sub-items.

Would be cool if you make this a changeable feature (control via a property like
IntelligentRightMargin)

Interestingly, this only applies for the first level. On further tree levels 
the Icon
is added directly under the parent.

I can look at this, if you want.

Original comment by studp...@gmail.com on 2 Jan 2009 at 7:26

GoogleCodeExporter commented 9 years ago
If you want to have a look at this, that'd be great! If not, I'll get to it 
eventually.

Original comment by kenneth....@gmail.com on 2 Jan 2009 at 7:34