예제 #1
0
        void RepositionFilter()
        {
            int w = filterEntry.SizeRequest().Width;
            int h = filterEntry.SizeRequest().Height;

            filterEntry.Allocation = new Gdk.Rectangle(notebook.Allocation.Right - w - 1, notebook.Allocation.Y, w, h);
        }
예제 #2
0
        void RepositionFilter()
        {
            int w     = filterEntry.SizeRequest().Width;
            int h     = filterEntry.SizeRequest().Height;
            var alloc = notebook.Allocation;

            filterEntry.Allocation = new Gdk.Rectangle(alloc.Left + alloc.Width - 1 - w, alloc.Y, w, h);
        }