mirror of
https://github.com/colhountech/DarkUI.Net5.git
synced 2025-07-02 07:09:27 +03:00
Fixed resizing issue in DarkComboBox
We have to clear the graphics buffer when resizing.
This commit is contained in:
parent
d04cadf105
commit
7ac360edd0
@ -95,6 +95,13 @@ namespace DarkUI.Controls
|
||||
PaintCombobox();
|
||||
}
|
||||
|
||||
protected override void OnResize(EventArgs e)
|
||||
{
|
||||
base.OnResize(e);
|
||||
_buffer = null;
|
||||
Invalidate();
|
||||
}
|
||||
|
||||
private void PaintCombobox()
|
||||
{
|
||||
if (_buffer == null)
|
||||
|
Loading…
x
Reference in New Issue
Block a user