Dotnet combobox cropped on resizing


#1

Hello everyone!
Does anyone know why dotnet combobox is cropped on resizing? This occurs on initial sizing and when resizing the rollout.
Any ideas how to avoid cropping?

rollout comboTest "combo test" width:376 height:40
(
	dotNetControl combo "System.Windows.Forms.ComboBox" pos:[8,8] width:100 height:24

	fn initCombo = combo.DropDownStyle = (dotNetClass "System.Windows.Forms.ComboBoxStyle").DropDownList

	on comboTest open do
	(
		initCombo()
		combo.width = comboTest.width - 16
	)

	on comboTest resized arg do
	(
		combo.width = comboTest.width - 16
	)
)
createDialog comboTest style:#(#style_resizing, #style_titlebar, #style_sysmenu)

2020-05-12_16-17-15


#2

you can set width before set style


#3

Thanks, you helped!
But this does not remove cropping when resizing rollout.


#4

it should be all right , show what happened with image or video


#5

resize


#6

I can’t solve it as I can’t reappear on my pc