MCPcopy Create free account
hub / github.com/TankOs/SFGUI / SetRowSpacings

Method SetRowSpacings

src/SFGUI/Table.cpp:251–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251void Table::SetRowSpacings( float spacing ) {
252 for( auto& row : m_rows ) {
253 row.spacing = spacing;
254 }
255
256 m_general_spacings.y = spacing;
257
258 UpdateRequisitions();
259 RequestResize();
260}
261
262void Table::SetColumnSpacing( std::size_t index, float spacing ) {
263 if( index >= m_columns.size() ) {

Callers 3

RunMethod · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by 1

RunMethod · 0.64