Convert calendar title to percentage width