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:
Jeff Young 2024-01-10 11:27:40 +00:00
parent 4c5dbcd7f4
commit 7c77266f12
1 changed files with 1 additions and 1 deletions

View File

@ -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 );