hadley/ggplot2 — Issue #262: With first line of multi-line legend labels, incorrect justification
Author: wch
Created: 2011-11-17 19:46:19+00:00
State: open

This is with the development branch. With multi-line legend labels, it appears that the first line of each item is centered relative to the width of _widest_ first line.

Example:

```
df <- data.frame(x=1:2, y=1:2, g=c("Some\ntext","More more more\ntext"))

ggplot(data=df, aes(x,y,fill=g)) + geom_point()
```

The problem doesn't seem to happen with the release version.