Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion source/gui/speechDict.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,16 @@ def __init__(self, parent, title=_("Edit Dictionary Entry")):
typeChoices = [
DictionaryEntryDialog.TYPE_LABELS[i] for i in DictionaryEntryDialog.TYPE_LABELS_ORDERING
]
self.typeRadioBox = sHelper.addItem(wx.RadioBox(self, label=typeText, choices=typeChoices))
self.typeRadioBox = sHelper.addItem(
wx.RadioBox(self, label=typeText, choices=typeChoices, style=wx.RA_SPECIFY_ROWS),
)

sHelper.addDialogDismissButtons(wx.OK | wx.CANCEL, separated=True)

mainSizer.Add(sHelper.sizer, border=guiHelper.BORDER_FOR_DIALOGS, flag=wx.ALL)
mainSizer.Fit(self)
self.SetSizer(mainSizer)
self.CentreOnParent()
self.setType(EntryType.ANYWHERE)
self.patternTextCtrl.SetFocus()
self.Bind(wx.EVT_BUTTON, self.onOk, id=wx.ID_OK)
Expand Down
1 change: 1 addition & 0 deletions user_docs/en/changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ This is more noticeable for Windows releases which are enablement packages on to
* Added an advanced setting to opt regular expression speech dictionary entries into a more modern [`regex`](https://pypi.org/project/regex/) engine.
This provides Unicode-aware `\w` and `\b` and additional regex features.
The setting is disabled by default. (#20013, @LeonarddeR)
* The "Type" radio buttons in the "Add Dictionary Entry" dialog are now arranged vertically rather than horizontally. (#19657)

### Bug Fixes

Expand Down
Loading