Bold NodeFont causes text to appear truncated

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dennis

    Bold NodeFont causes text to appear truncated

    I am using VS 2005. I have a form with a TreeView. I want to change the
    font of the root node to bold. But when I do, running the program causes
    the text in that node to appear truncated ... as if the node doesn't
    have the room for the bolded text to entirely fit. Is there something I
    need to do to the node to adjust its width?

    --

    Dennis
  • kimiraikkonen

    #2
    Re: Bold NodeFont causes text to appear truncated

    On Jun 5, 12:02 am, Dennis <nob...@nowhere .comwrote:
    I am using VS 2005. I have a form with a TreeView. I want to change the
    font of the root node to bold. But when I do, running the program causes
    the text in that node to appear truncated ... as if the node doesn't
    have the room for the bolded text to entirely fit. Is there something I
    need to do to the node to adjust its width?
    >
    --
    >
    Dennis
    Hi,
    Not sure what you mean, but when i change font size to higher and even
    to bold style, if treeview's width / height is wide enough there
    shouldn't be any missing parts on display of text. But when i change a
    single node's font style to font,yes it gets truncated

    Maybe your problem is setting font style for each node via NodeFont
    property seperately. Try to click on TreeView and set whole TreeView's
    font style instead of setting for each node from properties window.
    Then all nodes get fit.

    Thanks,

    Onur Güzel

    Comment

    • Dennis

      #3
      Re: Bold NodeFont causes text to appear truncated

      On Thu, 5 Jun 2008 01:21:28 -0700 (PDT), kimiraikkonen
      <kimiraikkonen8 5@gmail.comwrot e:
      >Maybe your problem is setting font style for each node via NodeFont
      >property seperately.
      Yes. I was setting just the single root node to bold.

      Thanks for the clue. I can set the TreeView's font to bold, then set all
      non-root fonts to normal. This approach seems to work.

      Thanks,

      --

      Dennis

      Comment

      Working...