I might have found a bug concerning Listview and the use of weight either directly with the Listview or in the parent group of a Listview. The XML for the GUI is simple enough and looks like this:
Code: Select all
<?xml version="1.0" encoding="iso-8859-1"?>
<application id="app">
<window id="mainWindow" title="SonosController" width="1000" height="300" >
<vgroup>
<hgroup>
<button>Button 1</button>
<button weight="200">Button 2</button>
<button>Button 3</button>
</hgroup>
<hgroup>
<listview>
<column/>
</listview>
<listview weight="200">
<column/>
</listview>
<listview>
<column/>
</listview>
</hgroup>
<hgroup>
<vgroup frame="true" frametitle="VGroup 1">
<button>Button 1</button>
</vgroup>
<vgroup frame="true" frametitle="VGroup 2" weight="200">
<button>Button 2</button>
</vgroup>
<vgroup frame="true" frametitle="VGroup 3">
<button>Button 3</button>
</vgroup>
</hgroup>
<hgroup>
<vgroup frame="true" frametitle="VGroup 1">
<button>Button 1</button>
<listview>
<column/>
</listview>
</vgroup>
<vgroup frame="true" frametitle="VGroup 2" weight="200">
<button>Button 2</button>
<listview>
<column/>
</listview>
</vgroup>
<vgroup frame="true" frametitle="VGroup 3">
<button>Button 3</button>
<listview>
<column />
</listview>
</vgroup>
</hgroup>
</vgroup>
</window>
</application>
Code: Select all
@REQUIRE "RapaGUI", {Link = True}
@APPTITLE "RapaGUI-Test"
@FILE 1, "TestGUI.xml"
moai.CreateApp(ReadString(1))
Repeat
WaitEvent
Forever
AmigaOS3.9, MUI 3.9:
AmigaOS4.1 FEu2, MUI 5.0:
Window x64:
macOS x64: