2

我正在开发一个黑莓应用程序。我在滚动视图上使用切换按钮,但滚动视图无法垂直或水平移动。

当我们在滚动视图上使用一个简单的按钮时,滚动视图会在两侧移动。

ScrollView 
{ 
   preferredWidth: 768
   Container 
   {
      layout: StackLayout 
      {
         orientation: LayoutOrientation.LeftToRight 
      }

      ImageToggleButton 
      { 
         imageSourceDefault: "asset:///search/activites_hover.png"
         imageSourceChecked: "asset:///search/drop-down.png" 
      } 
   } 
   scrollViewProperties
   { 
      scrollMode: ScrollMode.Both 
   } 
} 
4

0 回答 0