Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. RTF Fields have a gap between them when placed against each other.

RTF Fields have a gap between them when placed against each other.

Scheduled Pinned Locked Moved C#
help
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Ryan Esteves
    wrote on last edited by
    #1

    Hello new member here on The Code Project but I have used the site many times to find answers for my programing questions but so far have had no luck finding an answer for my current issue. As the title very simply says I have a program that contains alot of RTF fields (20+) all of which are placed right next to each other vertically. Everything appears correctly except that between a couple of the RTF fields there is a gap (maybe 1px tall) were two of them meet running the length of the field. Although this is a minor issue it is one that I must solve. Any help would be greatly appreciated. If more information is needed please feel free to ask and thank you in advance.

    L R 2 Replies Last reply
    0
    • R Ryan Esteves

      Hello new member here on The Code Project but I have used the site many times to find answers for my programing questions but so far have had no luck finding an answer for my current issue. As the title very simply says I have a program that contains alot of RTF fields (20+) all of which are placed right next to each other vertically. Everything appears correctly except that between a couple of the RTF fields there is a gap (maybe 1px tall) were two of them meet running the length of the field. Although this is a minor issue it is one that I must solve. Any help would be greatly appreciated. If more information is needed please feel free to ask and thank you in advance.

      L Offline
      L Offline
      Lodeclaw
      wrote on last edited by
      #2

      You're placing them on a form using code, or..? You should be able to just re size the fields left of the gap or set the location of the fields on the right side 1 pixel to the left. I don't know anything about using RTF fields in C#, so maybe I'm way off in my understanding?

      R 1 Reply Last reply
      0
      • L Lodeclaw

        You're placing them on a form using code, or..? You should be able to just re size the fields left of the gap or set the location of the fields on the right side 1 pixel to the left. I don't know anything about using RTF fields in C#, so maybe I'm way off in my understanding?

        R Offline
        R Offline
        Ryan Esteves
        wrote on last edited by
        #3

        Thank you for the reply, the RTF fields are placed on the form using the designer. We have tried to shift them 1 pixel at a time but find then that they overlap by 1 pixel! In designer mode they ARE next to each other. I understand that RTF fields are not used very often anymore (I'm actually not the programmer but I know enough to tell our programmer may have a few screws loose) but any ideas would still be appreciated.

        1 Reply Last reply
        0
        • R Ryan Esteves

          Hello new member here on The Code Project but I have used the site many times to find answers for my programing questions but so far have had no luck finding an answer for my current issue. As the title very simply says I have a program that contains alot of RTF fields (20+) all of which are placed right next to each other vertically. Everything appears correctly except that between a couple of the RTF fields there is a gap (maybe 1px tall) were two of them meet running the length of the field. Although this is a minor issue it is one that I must solve. Any help would be greatly appreciated. If more information is needed please feel free to ask and thank you in advance.

          R Offline
          R Offline
          Ryan Esteves
          wrote on last edited by
          #4

          Bump

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups