title: Limiting StaticText width
body: <p>I have a panel with several sizers and some gauges that I want to expand to the size of the area or frame that the panel is placed in which is working fine. I'm experiencing a problem however when a StaticText increases to a size that will be larger than the space available, expanding the edges of the panel and the gauges off the screen or visible area. I was wondering if there was a way to stop the text from doing that by snipping it short with a ... without specifying a precise size, basically so it knows where the edge of the display area is. I can get around it by moving the texts that I update to their own panels so I can call Update on their panels, leaving the gauges to be the same size, but the text still runs out of my StaticBox and off the display which isn't ideal.</p>
  
  <p>I could wrap the text down a line but I notice wrap breaks on spaces and as my long text is a file path it is likely to not have spaces, is it possible to break on something other than spaces?</p>
  
  <p>Either wrapping or truncating would be ok, just to stop it running over</p>