IDE macOS ListIconGadget first column
Posted: Sun Dec 11, 2022 11:41 am
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.
This must be adjusted in all 10 places so that ListIconGadget is defined with NULL size.
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)