]> git.ipfire.org Git - thirdparty/git.git/commit
gitk: set minimum size on configuration dialog
authorMark Levedahl <mlevedahl@gmail.com>
Sat, 4 Oct 2025 13:57:18 +0000 (09:57 -0400)
committerMark Levedahl <mlevedahl@gmail.com>
Sat, 4 Oct 2025 14:37:18 +0000 (10:37 -0400)
commit6565ca82203c5926881bba95bae7c17c130b73a4
tree1ff8fe2dc4129d324d2ea5cf337165bd3d070463
parent8e65d38064c6ab981955f64b75f8cc068f25a415
gitk: set minimum size on configuration dialog

gitk sets no size limit on its configuration dialog, allowing the user
to collapse the window so almost nothing is visible. The geometry
manager sets an initial size so all the widgets are visible, though
ignores the potentially very long text in the entry widgets in doing so.
Let's use this initial size as the minimum. The size information is
computed in Tk's idle processing queue, so a wait is required.

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
gitk