constrict cell props to table cells in properties panel
shapes like rectangles, arcs, circles, etc. must not show cell properties in the properties panel. closes #23398.
This commit is contained in:
committed by
Jeff Young
parent
e81dae62ef
commit
c040d62dec
@@ -463,12 +463,13 @@ static struct SCH_TABLECELL_DESC
|
||||
|
||||
const wxString cellProps = _( "Cell Properties" );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<EDA_SHAPE, bool>( _HKI( "Background Fill" ), &EDA_SHAPE::SetFilled,
|
||||
&EDA_SHAPE::IsSolidFill ),
|
||||
propMgr.AddProperty( new PROPERTY<SCH_TABLECELL, bool, EDA_SHAPE>(
|
||||
_HKI( "Background Fill" ), &EDA_SHAPE::SetFilled, &EDA_SHAPE::IsSolidFill ),
|
||||
cellProps );
|
||||
|
||||
propMgr.AddProperty( new PROPERTY<EDA_SHAPE, COLOR4D>( _HKI( "Background Fill Color" ),
|
||||
&EDA_SHAPE::SetFillColor, &EDA_SHAPE::GetFillColor ),
|
||||
propMgr.AddProperty( new PROPERTY<SCH_TABLECELL, COLOR4D, EDA_SHAPE>( _HKI( "Background Fill Color" ),
|
||||
&EDA_SHAPE::SetFillColor,
|
||||
&EDA_SHAPE::GetFillColor ),
|
||||
cellProps )
|
||||
.SetIsHiddenFromRulesEditor();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user