This commit is contained in:
Your Name
2026-10-08 15:49:53 +08:00
parent 1c9b093e08
commit 67c374d899
52 changed files with 51959 additions and 75 deletions
@@ -43,6 +43,7 @@ from PySide6.QtWidgets import (
)
from ..core.appointment_modes import APPOINTMENT_MODES
from .theme import main_window_target_rect
from .widgets import (
display_text,
first_value,
@@ -1766,6 +1767,11 @@ class AppointmentDrawer(QDialog):
super().mousePressEvent(event)
def _sync_to_owner(self) -> None:
target = main_window_target_rect(self)
if target is not None:
self.setGeometry(target)
self._update_drawer_width()
return
if self._owner is None:
self._update_drawer_width()
return