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

Implement max-width constraints on comboboxes #216

Open
anewuser opened this issue Apr 25, 2018 · 3 comments
Open

Implement max-width constraints on comboboxes #216

anewuser opened this issue Apr 25, 2018 · 3 comments
Assignees

Comments

@anewuser
Copy link

ConfigsSony PSXPlayStation Specific Settings → Change default region from Japan to North America.

Using a clean copy of MedLaunch v0.5.25.3 on Windows 10 64-bit.

@Asnivor Asnivor self-assigned this May 3, 2018
@Asnivor
Copy link
Owner

Asnivor commented May 3, 2018

Hi there,

Apologies for the delay in responding to this.

This behavior is actually by design. WPF automatically resizes combobox controls based on their content.

Is this a major issue for you?

@anewuser
Copy link
Author

I see that as a bug since it breaks the design consistency. The Windows "Settings app" drop-down lists remain the same size after you change their options.

@Asnivor
Copy link
Owner

Asnivor commented May 14, 2018

Ok, I see what you mean. The reason this doesnt happen in the settings dropdowns is that the combo-box content is always shorter than the initial width of the combobox. I'm gonna reopen this and will take a look at some point in the future. Its tricky because the comboboxes initially dynamically size to the layout area they are in, then the content is dynamically populated from the database. Maybe I can find a way to limit their width once they are instantiated (this is easily done if sizes are hardcoded from the start - but they are not).

I will think about it.

@Asnivor Asnivor reopened this May 14, 2018
@Asnivor Asnivor changed the title Changing default PSX region changes column width Implement max-width constraints on comboboxes May 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants