Scroll tabs in flex 3

I need to make a tab navigator in flex3. If not. tabs increases, then I need to show the scroll bar to move through the tabs. I am trying to do this using tabBar. But if not. tab increases, it places a scroll bar around the parent tabBar and its contents. While I need to scroll only the tabs, not the content, as in Firefox. Can anyone suggest me how I could do this.

Thanks at Advance

+3
source share
1 answer

Turn the tab navigator.

tabBar , , , , . / , .

tabBar ( ), , .

: , - : http://fleksray.org/adobe_flex_components_en.html#Button%20Scrolling%20Canavas

:

/--------------------------------------------------------------------------------------\
|                                 BOX-A                                                |
|  /--------\/-----------------------------------------------------------\/---------\  |
|  |        ||                                                           ||         |  |
|  |  BOX-B ||                     BOX-C                                 || BOX-D   |  |
|  |        ||                                                           ||         |  |
|  \--------/\-----------------------------------------------------------/\---------/  |
|                                                                                      |
\--------------------------------------------------------------------------------------/

B , D. C tabBar, horizontalscrollpolicy . 3 Box A, HBox, . , Box-c + = 20 - = 20 . ( , ). includeInLayout B D false, tabBar , C.

+4

Source: https://habr.com/ru/post/1735179/


All Articles