Layout problem with chart and grid splitter

3 posts, 0 answers
  1. Vikas
    Vikas avatar
    36 posts
    Member since:
    Dec 2015

    Posted 26 Aug Link to this post

    I am running into weird layout problem with Chart view and grid splitter, I have user control with a grid with 3 columns. I have a a grid in first column grid splitter in 2nd and chart view and third

    Everything looks good when the window is first rendered, But if i move the splitter to make the 3rd column big the chart view keeps expanding, I mean the labels on x axis keep getting farther apart.

    It would be ok as long as I can stretch the column, but if i just keep moving mouse the chart labels keeps moving.

     

    I have attached some images to give you a better idea

     

  2. Petar Marchev
    Admin
    Petar Marchev avatar
    968 posts

    Posted 30 Aug Link to this post

    Hi Vikas,

    In the last image I see that the mouse is not directly over the splitter. It appears that for some reason the third column has gotten very large. The chart simply occupies the space you allocate for it. So, I think that whatever control you put in the third column will behave the same way, because it appears that the resizing logic is such.

    I suggest you place another element in the third cell, like a button, to see if indeed this happens without the chart. Then you can look into what is going on and why the third column got so big.

    Regards,
    Petar Marchev
    Telerik by Progress
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
  3. UI for WPF is Visual Studio 2017 Ready
  4. Vikas
    Vikas avatar
    36 posts
    Member since:
    Dec 2015

    Posted 06 Sep in reply to Petar Marchev Link to this post

    Thanks, that was it.
Back to Top