Rounded corners rectangle shape

15 posts, 0 answers
  1. David Charette
    David Charette avatar
    1 posts
    Member since:
    Mar 2010

    Posted 30 Mar 2010 Link to this post

    Hi all, is there a way to draw rounded rectagles? In shape tool i have squares, round, cross, but i didnt find a way to round the corners.

    Thank you
  2. Steve
    Admin
    Steve avatar
    10940 posts

    Posted 31 Mar 2010 Link to this post

    Hi David Charette,

    To create a rectangle Shape item with a rounded corners, you have to set the ShapeType property to Square and the Rounding property to integer greater then 0.

    Check out the attached screenshoot of the Shape's property grid.

    Best wishes,
    Steve
    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.
  3. Willy Powell
    Willy Powell avatar
    2 posts
    Member since:
    May 2010

    Posted 03 May 2010 Link to this post

    Is there a way to make the corners of tables or textboxes rounded?
  4. Peter
    Admin
    Peter avatar
    1665 posts

    Posted 05 May 2010 Link to this post

    Hi Willy Powell,

    We don't have out of the box solution for setting the Table or TextBox items with rounded corners. Our suggestion is to use textboxes to achieve rounder corners- instead of using a shape item, you use 9 textboxes or 5 at best. I've attached a screenshot of how it should look like and you should prepare the background images to respect the sizes of those items used as "borders".

    Kind regards,
    Peter
    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.
  5. MM
    MM avatar
    8 posts
    Member since:
    Oct 2009

    Posted 12 May 2011 Link to this post

    Is there a way to make a rectangle, not just a square with rounded corners? When I stretch the rectangle, the rounded corners are stretched as well.
  6. Colleen
    Colleen avatar
    15 posts
    Member since:
    Jul 2019

    Posted 02 Sep Link to this post

    Two questions to this old post... I am using the solution posted above of creating 9 text boxes to achieve the look we want which is data on a white panel with rounded corners on a gray background.  The graphic designer created a Top Left Corner for me, which I had to shrink down considerably (.1"x.1") so as not to take up too much space... therefore my top 3 boxes and bottom 3 boxes will only be .1" in height.

    1) is there a way for me to rotate this corner image I have so that I can use it on the other 3 corners?  I tried a few things, but couldn't get the back ground image (aka my corner graphic) to rotate.

    2) Although, the report looks great in preview, when I export the report to PDF, the corner image now looks like it has a number of imperfections or flack.  How can I correct this? (please see attached 2 images)

    Thank you,
    Colleen

  7. Neli
    Admin
    Neli avatar
    190 posts

    Posted 05 Sep Link to this post

    Hello Colleen,

    You can add a new feature request in our Feedback portal for the required functionality mentioned on your first question. Currently, we do not support it out-of-the-box. About the issue with the exported PDF file, we will need a runnable report demonstrating the problem, so we can investigate it on our end and check what causes the unexpected behavior.

    Regards,
    Neli
    Progress Telerik

    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 Feedback Portal and vote to affect the priority of the items
  8. Colleen
    Colleen avatar
    15 posts
    Member since:
    Jul 2019

    Posted 05 Sep in reply to Neli Link to this post

    I tried to attach a very basic report you can run and export to see the issue I'm facing, but your forum will not let me attach it as it is not an allowable file type.  is there another way I can send my .trdp file?

    "The selected file(s) cannot be attached because it may exceed the maximum attachment size (2 MB) or is from not allowed type (allowed: .gif, .jpg, .jpeg, .png)."

    -Colleen

  9. Neli
    Admin
    Neli avatar
    190 posts

    Posted 10 Sep Link to this post

    Hi Colleen,

    You can upload it to cloud storage (for example Dropbox) and then send us the link to the file. Note that the report should contain (sample) data - it has to be runnable. 

     

    Regards,
    Neli
    Progress Telerik

    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 Feedback Portal and vote to affect the priority of the items
  10. Colleen
    Colleen avatar
    15 posts
    Member since:
    Jul 2019

    Posted 19 Sep Link to this post

    I just logged in to see if there has been an update, and my reply from 9 days ago did not post.  Here is what I meant to reply:

    Thank you Neli,
    here is a link to the document.  https://www.dropbox.com/s/n6136886tdo8ued/Template.trdp?dl=0
    -Colleen

    I just tried and you can still access the file.

    Thanks again

    -Colleen

  11. Neli
    Admin
    Neli avatar
    190 posts

    Posted 23 Sep Link to this post

    Hi Colleen,

    I inspected the report and the pictures used for the corners. It seems that the images' quality is low. I also noticed some dark stains on the corners. I suggest trying with images with higher quality. You may consider also using vector instead of bitmap images.

    Regards,
    Neli
    Progress Telerik

    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 Feedback Portal and vote to affect the priority of the items
  12. Colleen
    Colleen avatar
    15 posts
    Member since:
    Jul 2019

    Posted 23 Sep in reply to Neli Link to this post

    I will pass along your suggestion regarding using a vector image vs the png file I was provided.

    I wanted to get clarifications from you regarding the "dark stains".... are you saying you see dark stains in the Telerik preview?

    Thanks again

    -Colleen

  13. Colleen
    Colleen avatar
    15 posts
    Member since:
    Jul 2019

    Posted 24 Sep in reply to Colleen Link to this post

    My graphic designer was unaware that vector images could be used.  Is this true of Version 11.2.17.913?
  14. Colleen
    Colleen avatar
    15 posts
    Member since:
    Jul 2019

    Posted 24 Sep in reply to Neli Link to this post

    just tried to apply a vector image and failed miserably
  15. Neli
    Admin
    Neli avatar
    190 posts

    Posted 26 Sep Link to this post

    Hi Colleen,

    I am sorry for misleading you in my last reply. The PictureBox value indeed cannot be a vector image. What I meant with vector images was using Shapes due to the fact that you can set the Rounding property for the Square shape.

    I discussed the issue with our development team. The behavior is resulted by the incorrect processing of the transparent parts of the image by the PDF rendering. 

    To avoid this outcome in PDF rendering, I suggest modifying the corners' images. Remove their transparency and put as background color the background of the GroupHeader section. Then in the report, set only the Value of the picture box, without setting the Background Image property.

    You may check the updated version of the top left image and the report in the attached archive.

    Regards,
    Neli
    Progress Telerik

    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 Feedback Portal and vote to affect the priority of the items
Back to Top