The intention of this is to get the resize handle in the correct position, after we've let go in dragging.
| 218 | // The intention of this is to get the resize handle in the |
| 219 | // correct position, after we've let go in dragging. |
| 220 | void TimeToolBar::ResizingDone() |
| 221 | { |
| 222 | // Fit() while retaining height |
| 223 | SetSize(GetBestSize().x, GetSize().y); |
| 224 | |
| 225 | // Inform others the toobar has changed |
| 226 | Updated(); |
| 227 | } |
| 228 | |
| 229 | void TimeToolBar::SetResizingLimits() |
| 230 | { |
no outgoing calls
no test coverage detected