Added ScrollBar Indicator minimum size and padding properties 14/71514/4
authorTom Robinson <tom.robinson@samsung.com>
Wed, 25 May 2016 15:14:35 +0000 (16:14 +0100)
committerTom Robinson <tom.robinson@samsung.com>
Wed, 25 May 2016 17:49:14 +0000 (10:49 -0700)
commit9bb8fbae3cd42147c42c2448ca736fc5db535f5a
tree5c4503be78a77a6e5866716af698bb93b7798dfe
parent41278d3fb755de3cb89edf6d80603b18562b4e01
Added ScrollBar Indicator minimum size and padding properties

These 3 properties are floats, and can be set as follows (these are examples only):
scrollBar.SetProperty( ScrollBar::Property::INDICATOR_MINIMUM_HEIGHT, 20 );
scrollBar.SetProperty( ScrollBar::Property::INDICATOR_START_PADDING, 10 );
scrollBar.SetProperty( ScrollBar::Property::INDICATOR_END_PADDING, 10 );

Note: With a Vertical ScrollBar Direction: START and END padding properties refer to Top and Bottom respectively.

The defaults for all 3 properties is 0.

Change-Id: I79d9b28f36cca29a0e9115839cc5a5c70691bf65
dali-toolkit/internal/controls/scroll-bar/scroll-bar-impl.cpp
dali-toolkit/internal/controls/scroll-bar/scroll-bar-impl.h
dali-toolkit/public-api/controls/scroll-bar/scroll-bar.h