mirror of
https://codeberg.org/vyn/mirai.git
synced 2025-07-03 18:23:19 +00:00
Move dependencies in 'external' directory and pdate git submodules
This commit is contained in:
parent
63bf267a22
commit
cbaa1b58d8
608 changed files with 198659 additions and 199 deletions
|
@ -1,27 +0,0 @@
|
|||
import { Palette } from "Palette.slint";
|
||||
import { VButton } from "Button.slint";
|
||||
|
||||
export component VPopupIconMenu inherits Rectangle {
|
||||
private property<length> popup-x: 200px;
|
||||
private property<length> popup-y: 200px;
|
||||
|
||||
public function show(x: length, y: length) {
|
||||
popup-x = x;
|
||||
popup-y = y;
|
||||
popup.show();
|
||||
}
|
||||
|
||||
popup := PopupWindow {
|
||||
x: popup-x;
|
||||
y: popup-y;
|
||||
Rectangle {
|
||||
background: Palette.background.brighter(0.2);
|
||||
border-radius: 8px;
|
||||
clip: true;
|
||||
HorizontalLayout {
|
||||
alignment: start;
|
||||
@children
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue