Use fixed font in test/clipboard for text display

This is more like a text editor would display text.

Todo: make the font selection optional (later).
This commit is contained in:
Albrecht Schlosser 2024-03-09 13:56:09 +01:00
parent c8960dd4e2
commit 602cd7a990

View File

@ -195,6 +195,7 @@ int main(int argc, char **argv) {
display = new Fl_Text_Display(5, 30, 490, 460, Fl::clipboard_plain_text); // will display the text form
display->buffer(buffer);
display->selection_color(TAB_COLOR);
display->textfont(FL_COURIER); // use fixed font for text display
tabs->end();
tabs->resizable(display);