Combobox doesn't show images when ImageListItem is used #61

Closed
evgeny-k opened this Issue Oct 23, 2012 · 1 comment

Comments

Projects
None yet
2 participants

e.g.
fcombobox.Items.Add (new ImageListItem { Text = "Item " + list.Items.Count, Image = myImage});

@cwensley cwensley added the help wanted label Oct 7, 2016

cwensley added a commit that referenced this issue Feb 1, 2017

Add DropDown.ItemImageBinding
- Allows adding images to a DropDown using ImageListItem or your own custom POCO and binding.  Fixes #61
- ListBox now allows for differently sized images (not just 16 logical pixels high)
- Supports differently sized images (except WinForms), and macOS does not grow the control height so it overflows out of the control when selected.
- Wpf: streamline conversion of image to wpf
- Added Icon.WithSize() to return a copy of the Icon that will render at the specified logical size

cwensley added a commit that referenced this issue Feb 1, 2017

Add DropDown.ItemImageBinding
- Allows adding images to a DropDown using ImageListItem or your own custom POCO and binding.  Fixes #61
- ListBox now allows for differently sized images (not just 16 logical pixels high)
- Supports differently sized images (except WinForms), and macOS does not grow the control height so it overflows out of the control when selected.
- Wpf: streamline conversion of image to wpf
- Added Icon.WithSize() to return a copy of the Icon that will render at the specified logical size

@cwensley cwensley closed this in #683 Feb 1, 2017

@cwensley cwensley removed the help wanted label Feb 2, 2017

@cwensley cwensley modified the milestones: 2.4, Backlog Feb 2, 2017

Owner

cwensley commented Feb 2, 2017

Only implemented for DropDown as it does not make sense for ComboBox (this issue was reported when ComboBox was incorrectly named and did not allow editing).

derbyw added a commit to derbyw/Eto that referenced this issue Sep 27, 2017

Add DropDown.ItemImageBinding
- Allows adding images to a DropDown using ImageListItem or your own custom POCO and binding.  Fixes #61
- ListBox now allows for differently sized images (not just 16 logical pixels high)
- Supports differently sized images (except WinForms), and macOS does not grow the control height so it overflows out of the control when selected.
- Wpf: streamline conversion of image to wpf
- Added Icon.WithSize() to return a copy of the Icon that will render at the specified logical size
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment