diff --git a/examples/test_styling/README.md b/examples/test_styling/README.md index 22c631a9d0..dbd8e8dd50 100644 --- a/examples/test_styling/README.md +++ b/examples/test_styling/README.md @@ -23,7 +23,7 @@ int main(int argc, char* argv[]) // you can set the system-wide default style properties early on // all JKQTPlotter instance created after this, will use these // settings as their initial settings - JKQTPGetSystemDefaultStyle().userActionColor=QColor("red"); + JKQTPGetSystemDefaultStyle().userActionFontSize=10; TestStyling win; win.show(); diff --git a/examples/test_styling/test_styling_main.cpp b/examples/test_styling/test_styling_main.cpp index ce1d1cf4da..ffb1a580f6 100644 --- a/examples/test_styling/test_styling_main.cpp +++ b/examples/test_styling/test_styling_main.cpp @@ -10,7 +10,7 @@ int main(int argc, char* argv[]) // you can set the system-wide default style properties early on // all JKQTPlotter instance created after this, will use these // settings as their initial settings - JKQTPGetSystemDefaultStyle().userActionColor=QColor("red"); + JKQTPGetSystemDefaultStyle().userActionFontSize=12; TestStyling win; win.show();