Skip to content

Commit

Permalink
Adding PR RobinPerris#48
Browse files Browse the repository at this point in the history
Fix Issue RobinPerris#47 from cronoxyd:master
  • Loading branch information
FallenAvatar committed Mar 19, 2021
1 parent d806015 commit 8192707
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions DarkUI/Controls/DarkComboBox.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ protected override void OnEnabledChanged(EventArgs e)

private void PaintCombobox()
{
if( ClientRectangle.Width <= 0 || ClientRectangle.Height <= 0 )
_buffer = new Bitmap(1, 1);

if (_buffer == null)
_buffer = new Bitmap(ClientRectangle.Width, ClientRectangle.Height);

Expand Down
4 changes: 3 additions & 1 deletion SOURCES.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@ These PRs came from RobinPerris' Repo
2. #40 https://github.com/RobinPerris/DarkUI/pull/40
- Fixed DarkComboBox disabled text color from janrobas:master
3. #41 https://github.com/RobinPerris/DarkUI/pull/41
- Fixed the display of the selected item in the combobox when changing its visibility from ricardodalarme:FixedComboBox
- Fixed the display of the selected item in the combobox when changing its visibility from ricardodalarme:FixedComboBox
4. #48 https://github.com/RobinPerris/DarkUI/pull/48
- Fix Issue #47 from cronoxyd:master

0 comments on commit 8192707

Please sign in to comment.