Code: Select all
OpenWindow(0, 200, 100, 450, 230, "ListIconGadget + FrameGadget")
ListIconGadget(0, 10, 10, WindowWidth(0) - 20, 90, "Name", 110, #PB_ListIcon_GridLines)
AddGadgetColumn(0, 1, "Address", GadgetWidth(0) - GetGadgetItemAttribute(0, 0, #PB_ListIcon_ColumnWidth) - 30)
AddGadgetItem(0, -1, "Harry Rannit" + #LF$ + "12 Parliament Way, Battle Street, By the Bay")
AddGadgetItem(0, -1, "Ginger Brokeit" + #LF$ + "130 PureBasic Road, BigTown, CodeCity")
AddGadgetItem(0, -1, "Didi Foundit" + #LF$ + "321 Logo Drive, Mouse House, Downtown")
Frame3DGadget(1, 10, 130, 430, 80, "Test")
Repeat
Until WaitWindowEvent() = #PB_Event_CloseWindowIf one of the lines with AddGadgetItem() is commented out (so that no vertical scrollbar is displayed anymore), no warning will be reported anymore! So could it be that the space taken into account for the ListIconGadget's contents might be too large internally so that it interferes with the space for the FrameGadget?PB IDE wrote:[WARNING] Zeile: 8
[WARNING] WARNING: Invalid borders specified for theme pixmap:
/usr/share/themes/Lubuntu-default/gtk-2.0/images/null.png,
borders don't fit within the image
[WARNING] Zeile: 8
[WARNING] WARNING: Invalid borders specified for theme pixmap:
/usr/share/themes/Lubuntu-default/gtk-2.0/images/scrollbar_vertical.png,
borders don't fit within the image
Only Lubuntu 12.10 with LXDE displays the above warnings. These other Linux distributions with different desktop managers don't display the warnings (so it might be a sole problem of LXDE?):
- Fedora 18 x86 with Gnome 3
- Kubuntu 10.04 x86 with KDE
- Linux Mint 15 x86 with Cinnamon
- Ubuntu 10.04 x86 with Gnome 2
- Ubuntu 13.04 x86 with Unity
- Xubuntu 13.04 x86 with Xfce
Update: The same warnings are reported in Lubuntu 13.04 x86.

