Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,13 @@
# along with this program. If not, see <https://www.gnu.org/licenses/>.
-->

## 0.2.271 - 2025-09-11

- Prevent dockable floating containers from shrinking to their original size
so snapped-out diagrams expand when the window is resized or maximized.
- Add regression coverage ensuring dockable floating content tracks window
size changes after resizing.

## 0.2.270 - 2025-09-10

- Restore standard decorations on detached notebooks so floating windows offer
Expand Down
9 changes: 9 additions & 0 deletions gui/utils/dockable_diagram_window.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,15 @@ def _ensure_float_container(self, win: tk.Toplevel) -> ttk.Frame:
container = ttk.Frame(win)
container.pack(expand=True, fill="both")
self._float_container = container
else:
try:
container.pack_configure(expand=True, fill="both")
except tk.TclError:
container.pack(expand=True, fill="both")
try:
container.pack_propagate(False)
except tk.TclError:
pass
return container

def _release_from_geometry(self) -> None:
Expand Down
Loading