From 1ab4ac5782ce79dc3cf7baec2d0c83001be66ffa Mon Sep 17 00:00:00 2001 From: haru-s Date: Sun, 8 Jan 2023 15:46:12 +0900 Subject: [PATCH] Disable the maximize button in the example codes. --- examples/buttons/source/buttons_example.d | 1 + examples/tabcontrol/source/trackbar_sample.d | 1 + examples/tabcontrol/tabcontrol.code-workspace | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/buttons/source/buttons_example.d b/examples/buttons/source/buttons_example.d index f3a01f2..343944a 100644 --- a/examples/buttons/source/buttons_example.d +++ b/examples/buttons/source/buttons_example.d @@ -45,6 +45,7 @@ class MainForm : Form this.text = "Buttons example"; this.size = Size(400,300); this.formBorderStyle = FormBorderStyle.FIXED_DIALOG; + this.maximizeBox = false; // Default button _okButton = new Button(); diff --git a/examples/tabcontrol/source/trackbar_sample.d b/examples/tabcontrol/source/trackbar_sample.d index f92557e..5be670d 100644 --- a/examples/tabcontrol/source/trackbar_sample.d +++ b/examples/tabcontrol/source/trackbar_sample.d @@ -21,6 +21,7 @@ class MainForm : Form this.text = "TabControl example"; this.size = Size(300, 300); this.formBorderStyle = FormBorderStyle.FIXED_DIALOG; + this.maximizeBox = false; _tab = new TabControl(); _tab.dock = DockStyle.FILL; diff --git a/examples/tabcontrol/tabcontrol.code-workspace b/examples/tabcontrol/tabcontrol.code-workspace index 5269c9c..7e696bc 100644 --- a/examples/tabcontrol/tabcontrol.code-workspace +++ b/examples/tabcontrol/tabcontrol.code-workspace @@ -6,7 +6,7 @@ ], "settings": { "d.projectImportPaths": [ - "C:\\d\\gitproj\\dfl\\source\\" + "..\\..\\..\\dfl\\source" ] } } \ No newline at end of file