DarkRadiant: master 9e6fd3dd
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
orbweaver | orbweaver | master | 26.04.2018 22:11 | master cc22ed6b |
Changeset | Fix EmbeddedLayout splitter persistence Introduced a new Splitter class, which derives from wxSplitterWindow and provides a more modern object-oriented approach to persisting splitter sash positions into the registry, instead of the PanedPosition utility class which dates from the C-based GTK+ days. The main change is that the sash position is now persisted as a fractional value from 0 to 1, rather than a raw pixel position, which fixes the progressive sash position shifting that occurred when the pixel-based values stored in the registry did not correspond to the size of the window during the GUI construction process. |
|||
mod - radiant/Makefile.am | Diff File | |||
mod - radiant/ui/mainframe/EmbeddedLayout.cpp | Diff File | |||
mod - radiant/ui/mainframe/EmbeddedLayout.h | Diff File | |||
add - radiant/ui/widgets/Splitter.cpp | Diff File | |||
add - radiant/ui/widgets/Splitter.h | Diff File |