Notifications
Clear all
[Closed] Dotnet combobox cropped on resizing
May 12, 2020 9:23 pm
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)
5 Replies
1 Reply