| 248 | } |
| 249 | |
| 250 | void ExpandingToolBar::TryAutoExpand() |
| 251 | { |
| 252 | if (mAutoExpand && msNoAutoExpandStack==0 && |
| 253 | mIsManualExpanded == false && mIsAutoExpanded == false) { |
| 254 | mToggleButton->PushDown(); |
| 255 | mIsAutoExpanded = true; |
| 256 | Fit(); |
| 257 | } |
| 258 | } |
| 259 | |
| 260 | void ExpandingToolBar::TryAutoCollapse() |
| 261 | { |