summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2024-03-09 13:56:09 +0100
committerAlbrecht Schlosser <albrechts.fltk@online.de>2024-03-09 13:56:09 +0100
commit602cd7a990d25a737ebf283ba89742cf03ef2f20 (patch)
tree5ccc91e519118ff403d79876f7f667e597ab0aab /test
parentc8960dd4e2e5514811db3d484959daabb73f113a (diff)
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).
Diffstat (limited to 'test')
-rw-r--r--test/clipboard.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/clipboard.cxx b/test/clipboard.cxx
index a8f840912..59df21891 100644
--- a/test/clipboard.cxx
+++ b/test/clipboard.cxx
@@ -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);