Blank Space at bottom

4 posts, 0 answers
  1. Stefan
    Stefan avatar
    14 posts
    Member since:
    Dec 2010

    Posted 05 Jan 2011 Link to this post

    I am using a RadComboBox standalone and inside the RadDataGrid.  The combo items displayed contains pictures as well as text.  I am using a StackPanel to contain the Image and Text items of the DataTemplate.

    1) When the combo drops down it does not display multiples (eg. 7) of the items.  It displays something like 6.5 items.  The bottom item is clipped.
    2) When I scroll to the bottom of the list there is about 0.5 of an item left in blank space.

    Although the Combo works fine, the display does not look neat.  How can I solve the above 2 problems?


     
  2. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 10 Jan 2011 Link to this post

    Hi Stefan,

    Thank you for contacting us.

    I tried to reproduce the issue, but to no avail. Could you please send us your project so that we can run it here locally and observe the described problem. In that way we will be able to track down the source of the problem and provide you with a solution.

    Looking forward to your reply.

    All the best,
    Konstantina
    the Telerik team
    Browse the videos here>> to help you get started with RadControls for WPF
  3. UI for WPF is Visual Studio 2017 Ready
  4. Stefan
    Stefan avatar
    14 posts
    Member since:
    Dec 2010

    Posted 10 Jan 2011 Link to this post

    <telerik:RadComboBox Grid.Column="1" Name="comboBoxPeriod" SelectionChanged="comboBoxPeriod_SelectionChanged">
        
    <telerik:RadComboBox.ItemTemplate>
            <DataTemplate>
                <StackPanel Orientation="Horizontal">
                    <Image Width="24" Height="24" Source="/ChartData;component/images/Calendar%2024x24.png" />
                    <Label Content="{Binding Name}" />
                </StackPanel>
              </DataTemplate>
        </telerik:RadComboBox.ItemTemplate>
    </telerik:RadComboBox>

    The 2 attached images show the Initial Drop Down Combo box (2006 option chopped off) and the Scrolled to Bottom Combo Box (White space at bottom).

    Do you need the complete project or will this do?
  5. Konstantina
    Admin
    Konstantina avatar
    2332 posts

    Posted 11 Jan 2011 Link to this post

    Hello Stefan,

    Instead of a Label, try using a TextBox. With the TextBox the blank space at the bottom disappears.

    Hope this information helps. Please let us know if you have further questions.

    Greetings,
    Konstantina
    the Telerik team
    Let us know about your Windows Phone 7 application built with RadControls and we will help you promote it. Learn more>>
Back to Top