Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Toolstrip (obsolete as of Q3 2010) > Tooltip buttons with images and text, now text overlapping image after upgrade

Not answered Tooltip buttons with images and text, now text overlapping image after upgrade

Feed from this thread
  • Bex avatar

    Posted on Jul 23, 2009 (permalink)

    Hi

    We have a tool strip with 4 buttons on all with an image and text, after we upgraded to the new version of the win controls a while a go 3 of the buttons started displaying incorrectly. The text is slightly overlapping the image.
    For some reason the remaining button is fine.

    Do you have any idea why it would do this, I have tried changing all the alignment and position settings but I cant get them to sit side by side properly?

    Thanks

    Bex

    Reply

  • Bex avatar

    Posted on Jul 23, 2009 (permalink)

    I have managed to sort it..
    I removed  this line

    ((Telerik.WinControls.Primitives.TextPrimitive)(this.ButtonPrint.GetChildAt(1).GetChildAt(1).GetChildAt(1).GetChildAt(1))).Padding = ((System.Windows.Forms.Padding)(resources.GetObject("resource.Padding")));

    from the designer file

    and re-added the padding in design view and its all ok now

    Reply

  • Say Hello to Telerik's PivotGrid for ASP.NET AJAX, Silverlight, WPF and WinForms. Now packed with OLAP support.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > Toolstrip (obsolete as of Q3 2010) > Tooltip buttons with images and text, now text overlapping image after upgrade
Related resources for "Tooltip buttons with images and text, now text overlapping image after upgrade"

[ Features | Demos | Documentation | Knowledge Base | Telerik TV | Code Library | Step-by-step Tutorial | Blogs | Self-Paced Trainer ]