| 172 | } |
| 173 | |
| 174 | IntSize MenuItem::_getContentSize() const |
| 175 | { |
| 176 | ISubWidgetText* text = getSubWidgetText(); |
| 177 | if (text == nullptr) |
| 178 | return mMinSize; |
| 179 | |
| 180 | return text->getTextSize() + (getSize() - text->getSize()); |
| 181 | } |
| 182 | |
| 183 | void MenuItem::updateCheck() |
| 184 | { |
no test coverage detected