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

GridViewComboBoxColumn text is clipped when editing

2 Answers 31 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Rick Glos
Top achievements
Rank 1
Rick Glos asked on 18 Jun 2010, 09:35 PM
Hi there,

We are using the GridViewComboBoxColumn to display a set of times available for the user to pick from in a given day of the week.

The client would like to choose from values like "0759", "1700", "1130", etc.  Basically it's just a 4 digit text value.  Because of their screen size requirements we need to make the column width as small as possible.

The problem I'm having is that when the user attempts to edit the column, when the cell changes to a Textbox with the arrow, the last digit gets clipped.  This poses a problem because the user likes to Tab through the cells making changes and they cannot see the true value because the last digit is clipped.

You can see an example in this screenshot.

it appears like there is plenty of room next to the arrow pointing down, but there appears to be some excessive left-padding on that arrow that is overlapping the text.

Is there anyway I can adjust this?

2 Answers, 1 is accepted

Sort by
0
Accepted
Pavel Pavlov
Telerik team
answered on 23 Jun 2010, 02:21 PM
Hi Rick Glos,

I am attaching a project  with a modified global style for RadComboBox.
You can also play with the Padding property of RadComboBox as demonstrated.

Regards,
Pavel Pavlov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Rick Glos
Top achievements
Rank 1
answered on 24 Jun 2010, 04:16 PM
Thanks Pavel.

For anyone else, I was able to fix the issue by just using the Padding property like so:

        <Style TargetType="{x:Type telerik:RadComboBox}"
            <Setter Property="Padding" Value="3,0,0,0" /> 
        </Style> 

Tags
GridView
Asked by
Rick Glos
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Rick Glos
Top achievements
Rank 1
Share this question
or