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:
parent
c8960dd4e2
commit
602cd7a990
@ -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 = new Fl_Text_Display(5, 30, 490, 460, Fl::clipboard_plain_text); // will display the text form
|
||||||
display->buffer(buffer);
|
display->buffer(buffer);
|
||||||
display->selection_color(TAB_COLOR);
|
display->selection_color(TAB_COLOR);
|
||||||
|
display->textfont(FL_COURIER); // use fixed font for text display
|
||||||
tabs->end();
|
tabs->end();
|
||||||
tabs->resizable(display);
|
tabs->resizable(display);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user