IDE macOS ListIconGadget first column

Post bugs related to the IDE here
User avatar
mk-soft
Always Here
Always Here
Posts: 6313
Joined: Fri May 12, 2006 6:51 pm
Location: Germany

IDE macOS ListIconGadget first column

Post by mk-soft »

The first column of ListIconGadget is always too narrow.
Everywhere where the gadget is created with width and height NULL.

I could not reproduce the problem with the sample code.

But if you change it in IDE code, the error does not occur anymore.

Code: Select all

If OpenWindow(#WINDOW_Warnings, WarningWindowPosition\x, WarningWindowPosition\y, WarningWindowPosition\Width, WarningWindowPosition\Height, Language("Misc","WarningsTitle"), Flags, WindowID(#WINDOW_Main))
    ;ListIconGadget(#GADGET_Warnings_List, 0, 0, 0, 0, Language("Compiler", "Warning"), ColumnWidth, #PB_ListIcon_GridLines|#PB_ListIcon_FullRowSelect|#PB_ListIcon_AlwaysShowSelection)
    ListIconGadget(#GADGET_Warnings_List, 0, 0, 1, 1, Language("Compiler", "Warning"), ColumnWidth, #PB_ListIcon_GridLines|#PB_ListIcon_FullRowSelect|#PB_ListIcon_AlwaysShowSelection)
  
This must be adjusted in all 10 places so that ListIconGadget is defined with NULL size.
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive