upgrade gtkrs
This commit is contained in:
parent
6b53c2cded
commit
57263e77c7
12 changed files with 159 additions and 254 deletions
|
|
@ -44,15 +44,8 @@ impl WidgetImpl for PopoverContainerInner {
|
|||
}
|
||||
|
||||
fn size_allocate(&self, _obj: &PopoverContainer, width: i32, height: i32, baseline: i32) {
|
||||
self.child.size_allocate(
|
||||
>k4::Allocation {
|
||||
x: 0,
|
||||
y: 0,
|
||||
width,
|
||||
height,
|
||||
},
|
||||
baseline,
|
||||
);
|
||||
self.child
|
||||
.size_allocate(>k4::Allocation::new(0, 0, width, height), baseline);
|
||||
self.popover.present();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue