forked from I2P_Developers/i2p.i2p
Console: Prevent bad line-wrap of very long menu items
This commit is contained in:
@ -665,6 +665,10 @@ public class SummaryBarRenderer {
|
|||||||
* @since 0.9.18
|
* @since 0.9.18
|
||||||
*/
|
*/
|
||||||
private static String nbsp(String s) {
|
private static String nbsp(String s) {
|
||||||
|
// if it's too long, this makes it worse
|
||||||
|
if (s.length() <= 30)
|
||||||
return s.replace(" ", " ");
|
return s.replace(" ", " ");
|
||||||
|
else
|
||||||
|
return s;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user