示例#1
0
文件: Layout.cs 项目: swgshaw/f-spot
        public void SetSize(uint width, uint height)
        {
            Hadjustment.Upper = this.width = width;
            Vadjustment.Upper = this.height = height;

            if (IsRealized)
            {
                bin_window.Resize((int)Math.Max(width, Allocation.Width), (int)Math.Max(height, Allocation.Height));
            }
        }