Move name ellipisizing from middle to end.
Our names tend to have more boiler-plate stuff at the end (excluding things like "Position X" and "Position Y", but they're usually pretty short when compared to "Solderpaste Margin Ratio Override" or "Exempt from Courtyard Requirement").
This commit is contained in:
parent
4c5dbcd7f4
commit
7c77266f12
|
@ -63,7 +63,7 @@ bool PG_CELL_RENDERER::Render( wxDC &aDC, const wxRect &aRect, const wxPropertyG
|
|||
|
||||
aProperty->GetDisplayInfo( aColumn, aItem, aFlags, &text, &cell );
|
||||
|
||||
text = wxControl::Ellipsize( text, aDC, wxELLIPSIZE_MIDDLE, aRect.GetWidth() );
|
||||
text = wxControl::Ellipsize( text, aDC, wxELLIPSIZE_END, aRect.GetWidth() );
|
||||
|
||||
int imageWidth = PreDrawCell( aDC, aRect, aGrid, cell, preDrawFlags );
|
||||
|
||||
|
|
Loading…
Reference in New Issue