Searched refs:maxSliderLocation (Results 1 - 1 of 1) sorted by relevance

/haiku/src/tests/kits/interface/layout/widget_layout_test/
H A DWidgetLayoutTest.cpp197 BPoint maxSliderLocation = wrapperLocation + maxWrapperSize local
202 if (maxSliderLocation.x + sliderSize.width > parentSize.width)
203 maxSliderLocation.x = parentSize.width - sliderSize.width;
204 if (maxSliderLocation.y + sliderSize.height > parentSize.height)
205 maxSliderLocation.y = parentSize.height - sliderSize.height;
207 fSliderView->SetLocationRange(minSliderLocation, maxSliderLocation);

Completed in 58 milliseconds