SizeToContent bug

Ribbon for WPF Forum

Posted 17 years ago by Simon Deguire
Version: 1.0.0330
Environment: Windows XP (32-bit)
Avatar
I don't know if this has been fixed in the 340 version.
Try this window.
<ribbon:RibbonWindow x:Class="Sample.Application.SizeToContentBug"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:ribbon="http://schemas.actiprosoftware.com/winfx/xaml/ribbon"
    Title="SizeToContent bug"
    SizeToContent="WidthAndHeight"
    >
  <Button>A simple button</Button>
</ribbon:RibbonWindow>
namespace Sample.Application
{
    /// <summary>
    /// Interaction logic for SizeToContentBug.xaml
    /// </summary>

    public partial class SizeToContentBug : RibbonWindow
    {

        public SizeToContentBug()
        {
            InitializeComponent();
        }

    }
}
The window appears black on the bottom and on the right because the bordres are hidden I think.

Comments (1)

Posted 17 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Simon,

Thank you for the sample code. I was able to repro it and fix the problem for the next maintenance release.


Actipro Software Support

The latest build of this product (v24.1.3) was released 28 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.