Skip to content

Commit 5711af1

Browse files
authored
Merge pull request #2868 from Krypton-Suite/V110-2862-bug-form-border-resize-flicker
* Form border resize flicker (V110)
2 parents d3cf395 + bfe3e76 commit 5711af1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

Documents/Changelog/Changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
## 2026-11-xx - Build 2611 (V110 Nightly) - November 2026
66

7+
* Resolved [#2862](https://github.com/Krypton-Suite/Standard-Toolkit/issues/2862), Form border resize flicker
78
* Implemented [#595](https://github.com/Krypton-Suite/Standard-Toolkit/issues/595), Detachable Ribbons - Added ability to detach `KryptonRibbon` into a floating window with `AllowDetach` property, `Detach()` and `Reattach()` methods, and `RibbonDetached`/`RibbonReattached` events. See [Detachable Ribbons Documentation](Detachable-Ribbons-Feature.md) for comprehensive details.
89
* Implemented [#2898](https://github.com/Krypton-Suite/Standard-Toolkit/issues/2898), `KryptonHScrollBar` & `KryptonVScrollBar` - Part of #2658
910
* Resolved [#2910](https://github.com/Krypton-Suite/Standard-Toolkit/issues/2910), `KryptonComboBox` override Font property causes form designer error

Source/Krypton Components/Krypton.Toolkit/Controls Toolkit/KryptonForm.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,13 @@ public KryptonForm()
225225
// Yes, we want to be drawn double buffered by default
226226
base.DoubleBuffered = true;
227227

228+
#if NET10_0_OR_GREATER
229+
// Fix for issue #2862: .NET 10 introduced FormCornerPreference which causes flicker
230+
// during resize when using custom chrome. Set to DoNotRound since KryptonForm
231+
// handles its own border rendering with custom chrome.
232+
FormCornerPreference = FormCornerPreference.DoNotRound;
233+
#endif
234+
228235
// Create storage objects
229236
ButtonSpecs = new FormButtonSpecCollection(this);
230237
var buttonSpecsFixed = new FormFixedButtonSpecCollection(this);

0 commit comments

Comments
 (0)