This is a migrated thread and some comments may be shown as answers.

Blank Space at bottom

3 Answers 200 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Stefan
Top achievements
Rank 1
Stefan asked on 05 Jan 2011, 04:24 PM
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?


 

3 Answers, 1 is accepted

Sort by
0
Konstantina
Telerik team
answered on 10 Jan 2011, 08:44 AM
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
0
Stefan
Top achievements
Rank 1
answered on 10 Jan 2011, 02:18 PM
<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?
0
Konstantina
Telerik team
answered on 11 Jan 2011, 11:50 AM
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>>
Tags
ComboBox
Asked by
Stefan
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Stefan
Top achievements
Rank 1
Share this question
or