Added style name for styling TextEditor ScrollBar.
ScrollBar : TextEditorScrollBar
ScrollBar Indicotor : TextEditorScrollBarIndicator
Change-Id: Icfc6ca896635a26246fc8aee2d8437c675e3768b
Signed-off-by: minho.sun <minho.sun@samsung.com>
mScrollBar.SetScrollPropertySource(self, propertyScrollPosition, propertyMinScrollPosition, propertyMaxScrollPosition, propertyScrollContentSize);
+ // Set style name of ScrollBar for styling
+ mScrollBar.SetStyleName("TextEditorScrollBar");
+ Toolkit::Control scrollIndicator = Toolkit::Control::DownCast( mScrollBar.GetScrollIndicator() );
+ if( scrollIndicator )
+ {
+ // Set style name of ScrollBarIndicator for styling
+ scrollIndicator.SetStyleName("TextEditorScrollBarIndicator");
+ }
+
self.Add( mScrollBar );
}
else