Possible Bugs / strange behavior

2 posts, 0 answers
  1. ManniAT
    ManniAT avatar
    877 posts
    Member since:
    Nov 2003

    Posted 17 Jan 2008 Link to this post

    Hi,

    We guess there is a bug with "MinSize": (steps to reproduce)
    Creat a project with two Docking Panels.
    >>One small on the left side - the second filling the rest of the window.
    Set MinSize on the left panel.
    Make your window large.
    Make the left panel as small as allowed in "MinSize".
    Now make the Window smaller -- the left panel becomes smaller also.
    >>Means MinSize does not work on window resizeing.

    The other thing is with the panels background color of panels.
    Steps to reproduce:
    Again creat an app with two docking panels.
    You will see that they change the BackColor to "ControlDark".
    In properties use "Reset" to the BackColor -- it changes to "Control" (not bold).
    Next run the app -- the panels have ControlDark as BackColor.
    >> Check form1.designer.cs to ensure no backcolor is set.
    Next close the form and reopen it in design view.
    >>Code is added to set the BackColor to ControlDark.

    We expect that BackColor work like it does with other Controls.
    This means - Inheritance.
    And this works well in designer!!

    At the existing project change the BackColor of "PrimarySite" to Red.
    Next choose "Reset" at the panels -- and YES they are red now - like they should.

    Run the app -- again you have ControlDark panels - instead of red ones.

    The second is easy to overcome by setting the color of the panel to a specific one.

    The first is a real problem.

    Regards

    Manfred
  2. Julian Benkov
    Admin
    Julian Benkov avatar
    1135 posts

    Posted 17 Jan 2008 Link to this post

    Hello Manfred,

    Thank you for reporting these issues. They will be addressed in the Q1 2008 release. For the time being, use the code provided in your previous post.

    Your Telerik points have been updated.

    Best wishes,
    Julian Benkov
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for WinForms is Visual Studio 2017 Ready
Back to Top