Skip to content

fix(settings): show text in editable ComboBoxes - #88

Open
obesity40 wants to merge 1 commit into
jasperdevs:mainfrom
obesity40:fix/settings-combobox-text
Open

obesity40 wants to merge 1 commit into
jasperdevs:mainfrom
obesity40:fix/settings-combobox-text

Conversation

@obesity40

Copy link
Copy Markdown

The OCR language pickers in Settings set IsEditable="True", but the ComboBox template only had a ContentPresenter for the selection box. WPF hides that presenter in editable mode and expects a PART_EditableTextBox to take its place, so the closed ComboBox rendered no text in any language.

Add the missing TextBox and an IsEditable trigger to swap the two.

The OCR language pickers in Settings set IsEditable="True", but the ComboBox
template only had a ContentPresenter for the selection box. WPF hides that
presenter in editable mode and expects a PART_EditableTextBox to take its
place, so the closed ComboBox rendered no text in any language.

Add the missing TextBox and an IsEditable trigger to swap the two.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant