Skip to content

GUI: Do not scale the default size of -1 (#10216)#11424

Merged
feerrenrut merged 1 commit into
nvaccess:masterfrom
accessolutions:i10216-symbolReplacementDpi
Jul 27, 2020
Merged

GUI: Do not scale the default size of -1 (#10216)#11424
feerrenrut merged 1 commit into
nvaccess:masterfrom
accessolutions:i10216-symbolReplacementDpi

Conversation

@JulienCochuyt

Copy link
Copy Markdown
Contributor

Link to issue number:

Fixes #10216

Summary of the issue:

On the Symbol Pronunciation dialog, depending on the display scaling settings, the Filter edit field and the Replacement edit field might be functional but not visible.

Description of how this pull request fixes the issue:

Do not attempt to scale the default size of -1.
That is, replace self.scaleSize((300, 1)) by (self.scaleSize(300), -1)

Testing performed:

Ensured that both fields are visible with varying display scaling settings.

Known issues with pull request:

Change log entry:

I don't think this deserves a change log entry.

@feerrenrut feerrenrut left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@feerrenrut feerrenrut merged commit f79e76d into nvaccess:master Jul 27, 2020
@nvaccessAuto nvaccessAuto added this to the 2020.3 milestone Jul 27, 2020
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.

Symbol replacement edit not visible in punctuation / symbol pronunciation dialog

3 participants