notoriously overrun the frame size.
The xml part:
Code: Select all
<colgroup frame="true" columns="3">
...
<label>Emelt tömeg:</label>
<text id="lift" align="right" frame="true">--</text>
<label align="left"> gr</label>
...
</colgroup>
Android 5.1.1
Resolution: 720x1280
Huawei SCL-L01
The Amiga and android screenshots:
Here is the test script:
Code: Select all
@REQUIRE "rapagui.hwp"
mainwindow=[[<?xml version="1.0" encoding="utf-8"?>
<application id="test">
<window id="win" title="test" notify="closerequest" >
<vgroup>
<vgroup frame="true">
<colgroup frame="true" columns="3">
<label>Név:</label>
<text id="lufi_nev" align="right" frame="true">--</text>
<label></label>
<label>Fújt méret:</label>
<hgroup>
<text id="width" align="right" frame="true">--</text>
<label>x</label>
<text id="height" align="right" frame="true">--</text>
</hgroup>
<label align="left"> cm</label>
<label>Emelt tömeg:</label>
<text id="lift" align="right" frame="true">--</text>
<label align="left"> gr</label>
<label>Térfogat:</label>
<text id="terfogat" align="right" frame="true">--</text>
<label align="left"> cm3</label>
<label>Mennyiség:</label>
<text id="db" align="right" frame="true">--</text>
<label align="left"> db</label>
<label>Gáz ár:</label>
<text id="gazar" align="right" frame="true">--</text>
<label align="left"> Ft</label>
</colgroup>
</vgroup>
</vgroup>
</window>
</application>
]]
Function p_EventFunc(msg)
Switch msg.action
Case "SizeWindow":
Case "RapaGUI":
Switch msg.class
Case "Window":
Switch msg.attribute
Case "CloseRequest":
End
EndSwitch
EndSwitch
EndSwitch
endfunction
moai.CreateApp(mainwindow)
InstallEventHandler({RapaGUI = p_EventFunc, SizeWindow = p_eventfunc})
Repeat
WaitEvent
Forever