Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad Combobox behaviour with new items #1521

Closed
JulienKluge opened this issue Aug 23, 2014 · 3 comments
Closed

Bad Combobox behaviour with new items #1521

JulienKluge opened this issue Aug 23, 2014 · 3 comments
Assignees
Labels
Milestone

Comments

@JulienKluge
Copy link

A comboboc, with assigned metro style, behaves bad with new items in the actual drop-down-size.
At exmaple:

  1. make a combobox with 2 items.
  2. open the drop down menu
  3. close the drop down
  4. clear all items
  5. add 4 new items
    You'll see that the dropdown, still has the size of 2 items which hides the other 2.
    Also no scrollbar is visible to get to the other 2.
@laynor
Copy link

laynor commented Sep 19, 2014

Having the same problem here. The combobox dropdown is not resizing properly, it tends to keep the initial size. This doesn't happen all the time to me, but I would say most of the time.
This applies also when deleting an item: an empty, unselectable space will be show in the dropdown.

@punker76
Copy link
Member

@TheJelle @laynor can't repro this issue... any other special cases?

@JulienKluge
Copy link
Author

My program https://github.com/TheJelle/OpenDeCoder suffers from this bug.
Download it and look into OpenDeCoder/UI/Components/ParameterControl.xaml.
There is one line:

<ComboBox ... Style={x:Null} ... />

Remove the style attribute, rebuild the solution, and you'll be able to reproduce the bug.
(Start; Select 'From ASCII'-Listmenuitem; Open the Combobox above;
Select 'DeCoding'-TabItem; Select 'Morse'-Listmenuitem; Open Combox above;
BUFF bug! - do it reverse to see it the other way around)

@punker76 punker76 added the Bug label Oct 21, 2014
@punker76 punker76 added this to the v1.0 milestone Oct 21, 2014
@punker76 punker76 self-assigned this Oct 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants