DefaultWindow (created programatically)
--FrameWindow (console window)
----Listbox (text buffer)
----Editbox (text entry)
------Listbox (auto complete window)
The auto complete window is initially hidden when the console is displayed. As soon as the user types in character(s) that match a given set of commands, the auto complete window pops up, and the user can select from a list of possible commands (or keep typing to narrow it down further). With 0.6.2 this works great:
0.6.2
With 0.7.1, it appears that the auto complete window is being clipped by something (the rect of the FrameWindow?):
0.7.1
It's all on a DefaultWindow, so I wouldn't have imagined the clip to happen. I have tried adding ClippedByParent to the FrameWindow, but it resulted in the same. Here's my layout:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<GUILayout >
<Window Type="TaharezLook/FrameWindow" Name="Zonsole" >
<Property Name="Text" Value="Zonsole" />
<Property Name="TitlebarFont" Value="Consola" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="TitlebarEnabled" Value="True" />
<Property Name="UnifiedAreaRect" Value="{{0.02,0},{0.02,0},{0.98,0},{0.5,0}}" />
<Window Type="TaharezLook/Listbox" Name="Zonsole/Buffer" >
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,10},{0,25},{1,-12},{1,-33}}" />
</Window>
<Window Type="TaharezLook/Editbox" Name="Zonsole/Input" >
<Property Name="MaxTextLength" Value="1073741823" />
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="UnifiedAreaRect" Value="{{0,10},{1,-27},{1,-12},{1,-5}}" />
<Window Type="TaharezLook/Listbox" Name="Zonsole/Input/AutoComplete" >
<Property Name="UnifiedMaxSize" Value="{{1,0},{1,0}}" />
<Property Name="ClippedByParent" Value="False" />
<Property Name="UnifiedAreaRect" Value="{{0.00143799,0},{1.05544,0},{0.251438,0},{5.99056,0}}" />
</Window>
</Window>
</Window>
</GUILayout>
On an unrelated note, I set the Alpha property of the console to 0.7 in the code. It appears to be much more transparent in 0.7.1 (as apparent from the screenshots above). Did something change with this recently?