You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to the RJ Custom Combo Box, the Topline of the rectangle is faded and when I try to resize it everything messes up. i tried to set its property auto-size to true but then it kept resizing all the time. where have I gone wrong Sir?. Help me but all other controls are working perfectly fine. Thank you, Sir.
The text was updated successfully, but these errors were encountered:
Hi,
I just realized this issue, it happens because the ComboBox is bigger than the UserControl, therefore it exceeds its limits.
To fix it, create a condition to know the height of the ComboBox is bigger than the height of the UserControl, if so, set the height of the comboBox to the height of the UserControl (Adding the border size), you can use the AdjustComboBoxDimensions() method, and call it from size changes, for example font, also from the load event. Update the code, if you want you can download the modified control.
On Fri, Mar 25, 2022 at 3:07 AM RJ Code Advance ***@***.***> wrote:
Hi,
I just realized this issue, it happens because the *ComboBox is bigger
than the UserControl*, therefore it exceeds its limits.
To fix it, create a condition to know the height of the ComboBox is bigger
than the height of the UserControl, if so, set the height of the comboBox
to the height of the UserControl (Adding the border size), you can use the
AdjustComboBoxDimensions() method, and call it from size changes, for
example font, also from the load event.
*Update the code, if you want you can download the modified control.*
—
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AYKPKAVWFD3G5CRWI4AITFTVBT7T5ANCNFSM5RHURP6Q>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
When I try to the RJ Custom Combo Box, the Topline of the rectangle is faded and when I try to resize it everything messes up. i tried to set its property auto-size to true but then it kept resizing all the time. where have I gone wrong Sir?. Help me but all other controls are working perfectly fine. Thank you, Sir.
The text was updated successfully, but these errors were encountered: