| 195 | } |
| 196 | |
| 197 | void SpinButton::HandleSizeChange() { |
| 198 | float stepper_aspect_ratio( Context::Get().GetEngine().GetProperty<float>( "StepperAspectRatio", shared_from_this() ) ); |
| 199 | |
| 200 | SetTextMargin( GetAllocation().size.y / 2.f * stepper_aspect_ratio ); |
| 201 | |
| 202 | Entry::HandleSizeChange(); |
| 203 | } |
| 204 | |
| 205 | void SpinButton::HandleFocusChange( Widget::Ptr focused_widget ) { |
| 206 | Entry::HandleFocusChange( focused_widget ); |
nothing calls this directly
no outgoing calls
no test coverage detected