We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c733065 commit f20f9a4Copy full SHA for f20f9a4
1 file changed
files/markup/en/app/GetNavBarHeight
@@ -0,0 +1,38 @@
1
+// ------------- HEADER SECTION -------------
2
+
3
4
+/** # GetNavBarHeight #
5
+ * @brief Get apps navbar height
6
+ * Get the navbar height of the app in pixels.
7
+ *
8
+ * See Also: @GetDisplayHeight, @GetDisplayWidth, @GetScreenHeight
9
+ * $$ app.GetNavBarHeight() $$
10
+ * @returns num_pxl
11
+*/
12
13
14
15
16
+// ------------- SAMPLES -------------
17
18
19
20
+/**
21
+@sample Show navbar height
22
+function OnStart()
23
+{
24
+ <b>var height = app.GetNavBarHeight();</b>
25
+ app.Alert( height );
26
+}
27
+ */
28
29
30
31
32
+@sample Python Show navbar height
33
+from native import app
34
35
+def OnStart():
36
+ height = app.GetNavBarHeight()
37
+ app.Alert(height)
38
0 commit comments