Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Scrollbars (Read 3890 times)
zodraz
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 29
Joined: Jan 14th, 2011
Scrollbars
Mar 9th, 2011 at 11:44am
Print Post  
Hi,

       I want the scheduler not to have scrollbars, but a scrollbar on the page detects it and makes the proper scroll. I have set the AllowAutoScroll property to "False", but the scheduler still shows the scrollbar, with the one from the page (usercontrol), with 2 scroll bars which is not the desired UI  experience I want.... Also I am setting the minheight of the scheduler to a value...Maybe this is affecting?

My code looks like:

<ScrollViewer BorderThickness="0"  VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto"   Padding="12,0,12,0" >
    <Grid x:Name="LayoutRoot" Background="White">
       <Grid.RowDefinitions>
           <RowDefinition Height="0.085*"/>
           <RowDefinition Height="0.915*"/>
       </Grid.RowDefinitions>
       <Grid.ColumnDefinitions>
           <ColumnDefinition Width="0.194*"/>
           <ColumnDefinition Width="0.189*"/>
           <ColumnDefinition Width="0.194*"/>
           <ColumnDefinition Width="0.157*"/>
           <ColumnDefinition Width="0.265*"/>
       </Grid.ColumnDefinitions>
<planner:Calendar Name="calendar" CurrentView="MonthRange" Theme="Windows2003" Grid.Row="1" AllowAutoScroll="False"  FirstWeekendDay="Monday" Margin="0,12,0,0" Grid.ColumnSpan="5"   MinWidth ="800" BorderThickness="0" MinHeight="640">
<planner:Calendar.ItemSettings>

                                     .....
     
Thanks,

Zodraz
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Scrollbars
Reply #1 - Mar 9th, 2011 at 1:18pm
Print Post  
You can force the visibility of the Calendar's scrollbars through the HorizontalScrollBarVisibility and VerticalScrollBarVisibility properties. However, it might be better if you setup your view so that scrollbars are not necessary. For example, in the MonthRange view, you can set the NumberOfMonths, MonthsPerRow and VisibleRows properties so that no scrollbars are necessary.

Let me know if this helps.

Regards,
Meppy
  
Back to top
 
IP Logged
 
zodraz
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 29
Joined: Jan 14th, 2011
Re: Scrollbars
Reply #2 - Mar 9th, 2011 at 3:58pm
Print Post  
Hi,
        Thanks that did the trick!!!

Zodraz
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint