Skip to content

Commit

Permalink
Rework OTP setup UI
Browse files Browse the repository at this point in the history
Closes #122
  • Loading branch information
Rookiestyle committed Jan 21, 2023
1 parent c4bfc66 commit a675c70
Show file tree
Hide file tree
Showing 4 changed files with 130 additions and 116 deletions.
224 changes: 113 additions & 111 deletions src/KeePassOTPSetup.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 13 additions & 1 deletion src/KeePassOTPSetup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -703,5 +703,17 @@ private void bSearchScreen_MouseHover(object sender, EventArgs e)
{
toolTip1.Show(PluginTranslate.ReadScreenForQRCode, pbSearchScreen);
}
}

private void tpAdvanced_Leave(object sender, EventArgs e)
{
tcSetup.Height -= gIssuerLabel.Height;
this.Height -= gIssuerLabel.Height;
}

private void tpAdvanced_Enter(object sender, EventArgs e)
{
tcSetup.Height += gIssuerLabel.Height;
this.Height += gIssuerLabel.Height;
}
}
}
Loading

0 comments on commit a675c70

Please sign in to comment.