7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-18 19:39:17 +00:00

Show full component class string in pcb properties panel

Currently, the human-readable component class is shown in the info
bar. For multiple component classes, this means that not all will
be readable. Showing the formal ordered string in the properties
panel mitigates this issue.
This commit is contained in:
JamesJCode 2025-01-20 22:55:10 +00:00
parent 0216b186aa
commit 6af44c8ffa

View File

@ -4076,12 +4076,11 @@ static struct FOOTPRINT_DESC
NO_SETTER( FOOTPRINT, wxString ), &FOOTPRINT::GetKeywords ),
groupFields );
// Used only in DRC engine
// Note: Also used by DRC engine
propMgr.AddProperty( new PROPERTY<FOOTPRINT, wxString>(
_HKI( "Component Class" ), NO_SETTER( FOOTPRINT, wxString ),
&FOOTPRINT::GetComponentClassAsString ) )
.SetIsHiddenFromLibraryEditors()
.SetIsHiddenFromPropertiesManager();
&FOOTPRINT::GetComponentClassAsString ), groupFields )
.SetIsHiddenFromLibraryEditors();
const wxString groupAttributes = _HKI( "Attributes" );