Skip to content

Alle Popups mittig zum App-Fenster#5

Merged
oliverba81 merged 1 commit into
mainfrom
feature/centered-dialogs
May 29, 2026
Merged

Alle Popups mittig zum App-Fenster#5
oliverba81 merged 1 commit into
mainfrom
feature/centered-dialogs

Conversation

@oliverba81

Copy link
Copy Markdown
Owner

Summary

  • Neuer _MsgBox(CTkToplevel) Dialog ersetzt alle tkinter.messagebox-Aufrufe
  • Berechnet Position anhand von winfo_x/y/width/height des Elternfensters → erscheint immer mittig
  • Hilfsfunktionen _askyn(parent, title, msg) und _showmsg(parent, title, msg)
  • Betroffen: alle Dialoge in App, SettingsDialog, FormatEditorDialog, StatsDialog

🤖 Generated with Claude Code

New _MsgBox(CTkToplevel) centers on parent window using winfo geometry.
Helper functions _askyn() and _showmsg() replace all messagebox calls.
Only the pre-CTK setup error dialog keeps the original messagebox.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@oliverba81 oliverba81 merged commit 83d643b into main May 29, 2026
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