| 249 | } |
| 250 | |
| 251 | void 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 | |
| 262 | void Table::SetColumnSpacing( std::size_t index, float spacing ) { |
| 263 | if( index >= m_columns.size() ) { |