| 187 | } |
| 188 | |
| 189 | void PropertyFieldPosition::updateButton() |
| 190 | { |
| 191 | WidgetContainer* widgetContainer = EditorWidgets::getInstance().find(mCurrentWidget); |
| 192 | if (widgetContainer->getRelativeMode()) |
| 193 | mButton->setCaption(replaceTags("to_percents")); |
| 194 | else |
| 195 | mButton->setCaption(replaceTags("to_pixels")); |
| 196 | } |
| 197 | |
| 198 | void PropertyFieldPosition::updatePositionCaption() |
| 199 | { |
nothing calls this directly
no test coverage detected