MCPcopy Create free account
hub / github.com/Tablecruncher/tablecruncher / smallerFont

Method smallerFont

src/csvgrid.cpp:579–588  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

577}
578
579void CsvGrid::smallerFont() {
580 DEBUG_PRINTF("#### CsvGrid::smallerFont\n");
581 if( text_font_size > TCRUNCHER_MIN_FONT_SIZE ) {
582 text_font_size -= 2;
583 // TODO allow resizing heights for small tables
584 // row_height_all(text_font_size + TCRUNCHER_ROW_HEIGHT_ADD);
585 // col_header_height(text_font_size + TCRUNCHER_ROW_HEIGHT_ADD);
586 redraw();
587 }
588}
589
590void CsvGrid::defaultFont() {
591 DEBUG_PRINTF("#### CsvGrid::defaultFont\n");

Callers 2

csvwindow.cppFile · 0.80
changeFontSizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected