[Done] PB 4.X ExplorerListGadget() #PB_Explorer_SmallIcon Problem

Post bugreports for the Windows version here
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

[Done] PB 4.X ExplorerListGadget() #PB_Explorer_SmallIcon Problem

Post by nco2k »

when changing display mode to #PB_Explorer_List and then to #PB_Explorer_SmallIcon, the item positions get messed up. it seems like it depends on the gadget size, whether or not this bug appears. pb bug or ms bug? if ms bug, any chance to fix it anyway? :)

Code: Select all

If OpenWindow(0, 0, 0, 510, 410, "Test", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
  ExplorerListGadget(0, 5, 5, 500, 400, "")
  
  SetGadgetAttribute(0, #PB_Explorer_DisplayMode, #PB_Explorer_List)
  SetGadgetAttribute(0, #PB_Explorer_DisplayMode, #PB_Explorer_SmallIcon)
  
  Repeat : Until WaitWindowEvent() = #PB_Event_CloseWindow
EndIf : End
Image

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
infratec
Always Here
Always Here
Posts: 6817
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Re: [PB 4.X] ExplorerListGadget() #PB_Explorer_SmallIcon Pro

Post by infratec »

Hi nco2k,

It is easier to understand what you mean, if you add a

Code: Select all

delay(2000)
between your SetGadgetAttribute() commands.

But:
If you create the gadget it is in #PB_Explorer_Report mode.
If you change this, than you want something different, or not?
So why you expect that it doesen't change the appearance.

Bernd
Fred
Administrator
Administrator
Posts: 16617
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [PB 4.X] ExplorerListGadget() #PB_Explorer_SmallIcon Pro

Post by Fred »

Does it still happen ? I don't see any problem here
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Re: [PB 4.X] ExplorerListGadget() #PB_Explorer_SmallIcon Pro

Post by nco2k »

yes and its pretty hard to reproduce. it somehow depends on the size of the gadget and the number of available items or item name lengths. try to add/remove some usb storage devices. maybe you will get lucky reproducing it.

Image

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
Fred
Administrator
Administrator
Posts: 16617
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [PB 4.X] ExplorerListGadget() #PB_Explorer_SmallIcon Problem

Post by Fred »

I can't reproduce it here, it's probably a MS issue as we don't do anything special when switching mode.
Post Reply