wip: Android Gradle project, crash reports, docs, CI job, notices
This commit is contained in:
1 parent
47b7e02e81
commit
1b95e8b504
35 files changed
+1590
-9
No files matched your search
@@ -391,8 +391,19 @@ export component MainWindow inherits Window {
|
||||
changed width => { narrow = self.width < 800px; }
|
||||
init => { narrow = self.width < 800px; }
|
||||
property <int> pane: 1;
|
||||
// Android: the space under the on-screen keyboard (the window is not
|
||||
// resized for it). Zero on desktop.
|
||||
property <length> keyboard-inset: 0;
|
||||
changed virtual-keyboard-size => {
|
||||
keyboard-inset = self.virtual-keyboard-size.height > 0 ? self.height - self.virtual-keyboard-position.y : 0;
|
||||
}
|
||||
|
||||
VerticalLayout {
|
||||
// Android draws the window under the status and navigation bars.
|
||||
padding-top: root.safe-area-insets.top;
|
||||
padding-left: root.safe-area-insets.left;
|
||||
padding-right: root.safe-area-insets.right;
|
||||
padding-bottom: max(root.safe-area-insets.bottom, root.keyboard-inset);
|
||||
// Toolbar
|
||||
Rectangle {
|
||||
height: 48px;
|
||||
|
||||
Reference in new issue
Block a user