MCPcopy Create free account
hub / github.com/SpartanJ/eepp / setLayoutMarginLeft

Method setLayoutMarginLeft

src/eepp/ui/uiwidget.cpp:111–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111UIWidget* UIWidget::setLayoutMarginLeft( const Float& marginLeft ) {
112 if ( mLayoutMargin.Left != marginLeft ) {
113 mLayoutMargin.Left = marginLeft;
114 mLayoutMarginPx.Left = eeceil( PixelDensity::dpToPx( mLayoutMargin.Left ) );
115 onMarginChange();
116 notifyLayoutAttrChange();
117 notifyLayoutAttrChangeParent();
118 }
119
120 return this;
121}
122
123UIWidget* UIWidget::setLayoutMarginRight( const Float& marginRight ) {
124 if ( mLayoutMargin.Right != marginRight ) {

Callers 2

updateGlobalSearchBarMethod · 0.80
UIFileDialogMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected