About the ListIconGadget

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
bds107
New User
New User
Posts: 7
Joined: Fri Jul 28, 2023 10:35 am
Location: Bruges (Belgium)

About the ListIconGadget

Post by bds107 »

About the ListIconGadget: it would be nice if you could indicate in the AddGadgetColumn that you want to right-align or center it.
Or in AddGadgetItem after the chr(10) example give a chr(9) so that the text aligns to the right.
At SetGadgetColor you can specify the color for the entire List. Not for an individual row.
Are there solutions or alternatives?
BarryG
Addict
Addict
Posts: 4122
Joined: Thu Apr 18, 2019 8:17 am

Re: About the ListIconGadget

Post by BarryG »

bds107 wrote: Tue Aug 01, 2023 10:36 amAre there solutions or alternatives?
Yes, search these forums. Here's an alignment solution (diskay's post) -> viewtopic.php?p=549974#p549974
User avatar
jacdelad
Addict
Addict
Posts: 1991
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: About the ListIconGadget

Post by jacdelad »

@BarryG: That's for the header, not individual rows.

ListIconGadget rows cannot be aligned individually. You would have to create your own ListIcon with BlackJack and hookers (and on a canvas).
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
User avatar
bds107
New User
New User
Posts: 7
Joined: Fri Jul 28, 2023 10:35 am
Location: Bruges (Belgium)

Re: About the ListIconGadget

Post by bds107 »

BarryG wrote: Tue Aug 01, 2023 10:58 am Yes, search these forums. Here's an alignment solution (diskay's post) -> viewtopic.php?p=549974#p549974
Oh, it works for me. Thxalot BarryG.
Now it would be nice if I could get a full row in a different color (foreground/backcolor). So not individual cells. I don't make excel :wink:
User avatar
jacdelad
Addict
Addict
Posts: 1991
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: About the ListIconGadget

Post by jacdelad »

SetGadgetItemColor
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Post Reply