File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -116,6 +116,9 @@ protected override void OnEnabledChanged(EventArgs e)
116
116
117
117
private void PaintCombobox ( )
118
118
{
119
+ if ( ClientRectangle . Width <= 0 || ClientRectangle . Height <= 0 )
120
+ _buffer = new Bitmap ( 1 , 1 ) ;
121
+
119
122
if ( _buffer == null )
120
123
_buffer = new Bitmap ( ClientRectangle . Width , ClientRectangle . Height ) ;
121
124
Original file line number Diff line number Diff line change @@ -13,4 +13,6 @@ These PRs came from RobinPerris' Repo
13
13
2 . #40 https://github.com/RobinPerris/DarkUI/pull/40
14
14
- Fixed DarkComboBox disabled text color from janrobas: master
15
15
3 . #41 https://github.com/RobinPerris/DarkUI/pull/41
16
- - Fixed the display of the selected item in the combobox when changing its visibility from ricardodalarme: FixedComboBox
16
+ - Fixed the display of the selected item in the combobox when changing its visibility from ricardodalarme: FixedComboBox
17
+ 4 . #48 https://github.com/RobinPerris/DarkUI/pull/48
18
+ - Fix Issue #47 from cronoxyd: master
You can’t perform that action at this time.
0 commit comments