Line spacing

13 posts, 0 answers
  1. ll1231
    ll1231 avatar
    3 posts
    Member since:
    Sep 2008

    Posted 05 Nov 2008 Link to this post

    Is it possible to adjust the line spacing in the textbox when the line wraps?
  2. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 06 Nov 2008 Link to this post

    Hello ll1231,

    It is not possible in the current version of Telerik Reporting, but we would have this in mind for a subsequent release.

    Thank you for the suggestion and do let us know if other ideas come to mind.

    Sincerely yours,
    Steve
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. DevCraft banner
  4. Michael
    Michael avatar
    20 posts
    Member since:
    Jul 2010

    Posted 26 Oct 2011 Link to this post

    Hi Steve,

    Is it still not possible to set the line height for a text box?  I can't see an option to set it in either the text box or html text box.  This seems like a pretty basic formatting requirement to me.

    Michael
  5. Steve
    Admin
    Steve avatar
    10941 posts

    Posted 28 Oct 2011 Link to this post

    Hi Michael,

    Can you elaborate on the exact case you've hit in which you need to manually change the line spacing? Currently it is being setup according to the used font and one should not need to modify it, unless trying to "hack" the reporting engine. Note that we're not a word processing program, nor a document format, but a template that allows you to export to both + a lot more formats. The programs that work with these formats use different line spacing when drawing text lines i.e. different format is opened by different program, while we measure using the same line spacing for all formats.

    Greetings,
    Steve
    the Telerik team

    Q2’11 SP1 of Telerik Reporting is available for download (see what's new). Get it today.

  6. Michael
    Michael avatar
    20 posts
    Member since:
    Jul 2010

    Posted 28 Oct 2011 Link to this post

    Hi Steve,

    Well the scenario I encountered was one where some static text (i.e. not data generated, just part of the report template) needed to be spaced out for emphasis.  I got round this by simply breaking the text into several text boxes and spacing them out, but obviously this would not work with dynamic text.

    I can think of plenty of cases where it would be necessary to adjust line spacing of dynamically generated text though.  For example, if you are producing a report that is designed to be a standard letter to a customer, or a sales invoice, or a packing label etc. then you might very well want to adjust line spacing in order to produce an aesthetically pleasing and readable document.  Your reporting engine enables very precise control of the placement of objects in its output, so it does lend itself very well to these kinds of report - in fact I recently produced a report using it that printed onto sheets of pre-cut self adhesive labels and it worked very well (fortunately I didn't need to adjust line spacing!).  I'm thinking of the kinds of report that get exported as pdfs and then emailed out to end users, so there's no further requirement or opportunity to adjust their layout in some other application.

    So in this sense I for one do want to be able to use your product as a kind of word processor, and many of the basic requirements of a word processor are already incorporated, so it seems a shame to leave out things like line spacing.  Perhaps you could consider this for a future release?

    Thanks,

    Michael
  7. Erick
    Erick avatar
    2 posts
    Member since:
    Oct 2013

    Posted 08 Oct 2013 Link to this post

    Already there is some way to edit the Line Spacing of a textbox??
  8. Nasko
    Admin
    Nasko avatar
    909 posts

    Posted 09 Oct 2013 Link to this post

    Hello Erick,

    Currently it is not possible to specify line spacing and there isn't any built-in alternative that could fulfill this requirement.

    As stated in a previous reply to this thread, if your text is static, you can achieve line spacing effect by simply breaking the text into several text boxes and spacing them out.

    Regards,
    Nasko
    Telerik

    Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

  9. Erick
    Erick avatar
    2 posts
    Member since:
    Oct 2013

    Posted 09 Oct 2013 Link to this post

    well i find something like that...

    But isnt good to my project :(


    if (textBox1.Value == "")
                    {
                        textBox1.Value = exampleInfo;
                    }
                    else
                    {
                        string[] teste = textBox1.Value.Split(',');
                        if (teste.Count() == 10) // the value that u want
                        {
                            textBox1.Value += ", \r\r\n" + exampleInfo;
                        }
                        else
                        {
                            textBox1.Value += ", " + exampleInfo;
                        }
  10. Michael
    Michael avatar
    20 posts
    Member since:
    Jul 2010

    Posted 09 Oct 2013 Link to this post

    Hi Nasko,

    Is this feature even still on the roadmap (as it appeared to be way back in 2008)?  I haven't been using Telerik Reports for a while now and am really surprised to find that this serious omission has still not been resolved.  I would hesitate to use Telerik Reports in any new project if this basic requirement cannot be met.

    The reasons I gave below for needing this functionality are just as relevant, if not more so, in today's market.

    Regards,


    Michael 
  11. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 14 Oct 2013 Link to this post

    Hello Michael,

    The line spacing feature is still in our plans. Currently our suggestion is to use alternatives as padding and line breaks to produce the desired effect. However, we consider having line spacing control in future in Telerik Reporting.

    Regards,
    Stef
    Telerik

    Have you tried the new visualization options in Telerik Reporting Q2 2013? You can get them from your account.

  12. TechSavvySam
    TechSavvySam avatar
    38 posts
    Member since:
    Jul 2009

    Posted 17 Sep 2014 Link to this post

    I'd like to see this feature available too.
  13. Rehman
    Rehman avatar
    1 posts
    Member since:
    Feb 2015

    Posted 12 May 2015 Link to this post

    waiting for it.

    it is very common CSS feature. line-height: 90%

    is there a way to use CSS for text box for the line height and spacing between lines?

  14. Stef
    Admin
    Stef avatar
    3036 posts

    Posted 14 May 2015 Link to this post

    Hello Rehman,

    The feature is not supported. Please use the public feedback portal to log or vote for the feature request as features are considered for implementation based on the demand for them.

    In the available Telerik Reporting versions the space between lines is determined by the specifics of the used font.

    Regards,
    Stef
    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
DevCraft banner