Implement textfield icon picker

Coming soon!
Post Reply
Xiomax
Burner Inserter
Burner Inserter
Posts: 11
Joined: Mon Mar 28, 2016 5:16 pm
Contact:

Implement textfield icon picker

Post by Xiomax »

Hi,

I would like to use the "choose_chat_icon_button" in my mod.
See image of what I mean
Image
Image

Is there any chance of this being exposed through the API?

Thanks in advance!

User avatar
LuziferSenpai
Filter Inserter
Filter Inserter
Posts: 333
Joined: Tue Jul 08, 2014 10:06 am
Contact:

Re: Implement textfield icon picker

Post by LuziferSenpai »

For the devs, it would mean just adding the "all" option to the choose-elem element.
Coding is awesome!
Animes are love!
Factorio is life!

My MODs:
Click

Greetz,

Senpai

User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5150
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

Re: Implement textfield icon picker

Post by Klonan »

LuziferSenpai wrote:
Sat Mar 06, 2021 4:51 pm
For the devs, it would mean just adding the "all" option to the choose-elem element.
No it wouldn't,

If we implement this it would be properly, as in, you just set a bool on the textfield that adds the rich text picker, and then it automatically adds it to the textfield and handles everything

User avatar
LuziferSenpai
Filter Inserter
Filter Inserter
Posts: 333
Joined: Tue Jul 08, 2014 10:06 am
Contact:

Re: Implement textfield icon picker

Post by LuziferSenpai »

Klonan wrote:
Sat Mar 06, 2021 5:42 pm
LuziferSenpai wrote:
Sat Mar 06, 2021 4:51 pm
For the devs, it would mean just adding the "all" option to the choose-elem element.
No it wouldn't,

If we implement this it would be properly, as in, you just set a bool on the textfield that adds the rich text picker, and then it automatically adds it to the textfield and handles everything
But I would love to have the option in the choose-elem, so we can select them outside of a textfield too.
Coding is awesome!
Animes are love!
Factorio is life!

My MODs:
Click

Greetz,

Senpai

Xorimuth
Filter Inserter
Filter Inserter
Posts: 625
Joined: Sat Mar 02, 2019 9:39 pm
Contact:

Re: Implement textfield icon picker

Post by Xorimuth »

+1 this would be handy basically anywhere a mod asks for a user-defined name for something.
My mods
Content: Freight Forwarding | Spidertron Patrols | Spidertron Enhancements | Power Overload
QoL: Factory Search | Remote Configuration | Module Inserter Simplified | Wire Shortcuts X | Ghost Warnings

User avatar
Therenas
Factorio Staff
Factorio Staff
Posts: 232
Joined: Tue Dec 11, 2018 2:10 pm
Contact:

Re: Implement textfield icon picker

Post by Therenas »

This will be added with 1.2.

Post Reply

Return to “Implemented for 2.0”