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

SSH Importer: Width fix to avoid cut of CheckBoxFrame Label #391

Merged
merged 4 commits into from
Aug 17, 2016

Conversation

teclator
Copy link
Contributor

@teclator teclator commented Jun 7, 2016

By some reason the Label of the CheckBoxFrame is being cut. Now width is forced, but could be nice if some UI expert reviewed it as i'm not sure if could be some problem with long texts (translations).

Previously

ssh-key_dialog_new

With MinWidth

ssh-key_dialog_new_length

@coveralls
Copy link

Coverage Status

Coverage remained the same at 28.462% when pulling b6b9e59 on teclator:ssh_import_fix_width into fd94cd1 on yast:master.

HBox(
HSpacing(2),
Left(copy_config_widget)
MinWidth(50,
Copy link
Contributor

Choose a reason for hiding this comment

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

Obviously, the right fix is to discover why the cut is happening. But, once we are already in the business of workarounds... why don't make it i18n aware with something like...?

label = _("I would like to import SSH keys from a previous installation")
MinWidth(label.length,
...

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.004%) to 28.459% when pulling 444f245 on teclator:ssh_import_fix_width into fd94cd1 on yast:master.

@ancorgs
Copy link
Contributor

ancorgs commented Jun 8, 2016

No version increase?

HBox(
HSpacing(2),
Left(copy_config_widget)
MinWidth(label.length,
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe add a comment explaining why this MinWidth is there

@teclator teclator force-pushed the ssh_import_fix_width branch 2 times, most recently from 451b1ae to 6d88bf3 Compare June 8, 2016 12:54
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.004%) to 28.459% when pulling 6d88bf3 on teclator:ssh_import_fix_width into fd94cd1 on yast:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.004%) to 28.459% when pulling 6d88bf3 on teclator:ssh_import_fix_width into fd94cd1 on yast:master.

@coveralls
Copy link

coveralls commented Jun 8, 2016

Coverage Status

Coverage decreased (-0.004%) to 28.459% when pulling 6d88bf3 on teclator:ssh_import_fix_width into fd94cd1 on yast:master.

@jreidinger
Copy link
Member

LGTM

@coveralls
Copy link

coveralls commented Aug 16, 2016

Coverage Status

Coverage decreased (-0.004%) to 32.211% when pulling 4af8a21 on teclator:ssh_import_fix_width into 0165dd9 on yast:master.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.004%) to 32.211% when pulling 153de9e on teclator:ssh_import_fix_width into 0165dd9 on yast:master.

@jreidinger
Copy link
Member

LGTM

@teclator teclator merged commit 5b57673 into yast:master Aug 17, 2016
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.

4 participants