Search found 232 matches
- Wed Sep 04, 2019 8:56 pm
- Forum: Resolved Problems and Bugs
- Topic: [0.17.68] Textfields ignore constraints on copy-paste
- Replies: 3
- Views: 2380
Re: Textfields ignore constraints on copy-paste
Thanks Klonan, wasn't sure where to put it.
- Wed Sep 04, 2019 8:47 pm
- Forum: Resolved Problems and Bugs
- Topic: [0.17.68] Textfields ignore constraints on copy-paste
- Replies: 3
- Views: 2380
[0.17.68] Textfields ignore constraints on copy-paste
Recently, textfields got the ability to constrain what users could enter into them, namely numeric, allow_decimal and allow_negative. This works great when the user is inputting text by typing it directly on their keyboard. Any characters that aren't allowed are simply dropped. However, this is not ...
- Tue Aug 27, 2019 11:52 am
- Forum: Resolved Problems and Bugs
- Topic: [TOGoS] [0.17.66] bad prompt position with focus on LuaGuiElement textfield
- Replies: 2
- Views: 2487
Re: [0.17.66] bad prompt position with focus on LuaGuiElement textfield
I've run into this too, it probably has to do with the alignment, because it happens for 'center' as well.
- Mon Aug 26, 2019 11:59 am
- Forum: Implemented mod requests
- Topic: Move doc's class description to top of page
- Replies: 7
- Views: 1958
Re: Move doc's class description to top of page
I agree with this, it's really easy to overlook in it's current position.
- Tue Aug 20, 2019 5:06 pm
- Forum: Mods
- Topic: [MOD 0.17+] Factory Planner
- Replies: 2
- Views: 1680
[MOD 0.17+] Factory Planner
https://i.imgur.com/dAgso2P.png Relevant Links Download it on the mod portal , where you'll also find an extended description and more screenshots. If you've got suggestions or bug reports, I'd prefer them to go to the mod portal or onto the Factory Planner Discord (feel free to join). If you want ...
- Wed Aug 14, 2019 10:11 am
- Forum: Implemented mod requests
- Topic: Ability to bring window to the front
- Replies: 8
- Views: 3212
Re: Ability to bring window to the front
I really don't want to add this because mods should not be using player.screen to to try to make layered windows. It specifically does not pay any attention to z ordering of things in player.screen and they end up what ever they end up. It's purpose was not layered windows and in fact layered windo...
- Tue Aug 13, 2019 7:12 pm
- Forum: Implemented mod requests
- Topic: Add the ability to unset sprites on GUI elements
- Replies: 2
- Views: 2169
Re: Add the ability to unset sprites on GUI elements
As a note, writing nil to a sprite or sprite-button gives an error. Writing empty string to a sprite clears the element, but writing empty string to a sprite-button does nothing. Yes exactly. What's even worse is that when you set it to an empty string, the sprite will still be shown visually, but ...
- Tue Aug 13, 2019 1:28 pm
- Forum: Implemented mod requests
- Topic: Add the ability to unset sprites on GUI elements
- Replies: 2
- Views: 2169
Add the ability to unset sprites on GUI elements
Currently, you can set a sprite to a supported GUI element anytime you like, you don't have to set it when creating the element. You can't however unset it after it's been set. Setting it to nil gives an error and setting it to an empty string doesn't do anything. I'd like to be able to unset the sp...
- Mon Aug 12, 2019 9:04 pm
- Forum: Implemented mod requests
- Topic: Ability to bring window to the front
- Replies: 8
- Views: 3212
Re: Ability to bring window to the front
Of course, I'm grateful that you did, it wasn't hard to make it work that way actually, so I'm happy (mostly).
- Sat Aug 10, 2019 9:09 am
- Forum: Implemented mod requests
- Topic: Ability to bring window to the front
- Replies: 8
- Views: 3212
Re: Ability to bring window to the front
I mean I could probably do that, in my case the frame dimensions change, so everything has to 're-draw'. My code is currently not really laid out to work this way, but you are right that it would be a solution. Even so, I feel like the requested feature should exist in general (for other purposes), ...
- Sat Aug 10, 2019 9:05 am
- Forum: Won't implement
- Topic: Make LuaStyle.height/width readable
- Replies: 2
- Views: 1090
Re: Make LuaStyle.height/width readable
Alright, that is a bit sad to hear, but understandable.
Edit: Just realised I can use a combination of auto_center and .location read to get it to behave how I want (probably)
Edit: Just realised I can use a combination of auto_center and .location read to get it to behave how I want (probably)
- Fri Aug 09, 2019 1:15 pm
- Forum: Implemented mod requests
- Topic: Ability to bring window to the front
- Replies: 8
- Views: 3212
Ability to bring window to the front
As far as I can tell, windows are currently layered according to their age, with younger/more recent windows layered on top of older ones. This makes sense, but can lead to problems. In my case, I have multiple windows added to LuaGui.screen whose visibility is toggled all the time. I don't want to ...
- Fri Aug 09, 2019 12:42 pm
- Forum: Won't implement
- Topic: Make LuaStyle.height/width readable
- Replies: 2
- Views: 1090
Make LuaStyle.height/width readable
Currently, you can't read the actual width and height of a GuiElement. With the addition of moveable windows, it would be useful to know the actual sizes of your GuiElements (after stretching, squashing etc, which you can not really predict easily) to be able to set the .location of your windows pro...
- Thu Aug 08, 2019 9:31 am
- Forum: Mods
- Topic: [MOD 0.17.60+] Deadlock's Astonishingly Basic Oil Refinery (Special 1760 Edition)
- Replies: 6
- Views: 1760
Re: [MOD 0.17.60+] Deadlock's Astonishingly Basic Oil Refinery (Special 1760 Edition)
Looks good, nice graphics! It must have taken you quite some time and effort to make this mod. I guess it was a work of love … :-P Thanks. The time and effort involved were entirely appropriate. I'm thinking it doesn't go far enough. There are still too many options for the player, the difficulty c...
- Wed Aug 07, 2019 10:24 am
- Forum: Mods
- Topic: [0.17+] Space Exploration WIP
- Replies: 391
- Views: 267246
- Mon Aug 05, 2019 2:43 pm
- Forum: Modding interface requests
- Topic: Allow setting hidden_from_player_crafting on a LuaRecipe
- Replies: 1
- Views: 665
Allow setting hidden_from_player_crafting on a LuaRecipe
The attribute 'hidden_from_player_crafting' has been added to LuaRecipePrototype recently. However, you can't change that property at runtime through LuaRecipe, as the field is only present on the Prototype. I think it would be reasonable to add it as read-write to LuaRecipe as well, seeing that 'hi...
- Sat Aug 03, 2019 8:27 am
- Forum: Modding interface requests
- Topic: Make .enabled work on frames
- Replies: 2
- Views: 1080
Make .enabled work on frames
We now have the ability to do moveable windows, which is great. What this allows is to have true 'pop-up' windows that are overlaid on your base interface. This is obviously nicer than having to hide the main interface when the dialog is open, and show it again when the dialog is closed. Now one pro...
- Mon Jul 22, 2019 7:29 pm
- Forum: Implemented mod requests
- Topic: New GUI root for temporary GUI elements
- Replies: 34
- Views: 10097
- Mon Jul 22, 2019 11:54 am
- Forum: Implemented mod requests
- Topic: Ability to use the spacer in custom lua interfaces
- Replies: 6
- Views: 2184
Re: Ability to use the spacer in custom lua interfaces
I think people have been using frames to do this recently. I'm not entirely sure how, it might need a new style prototype, but I've seen screenshots of custom GUIs with spacers, and I think someone said it was a frame, but i'm not totally sure. Regardless, its easier now I guess. For completeness s...
- Sat Jul 20, 2019 9:30 pm
- Forum: Implemented mod requests
- Topic: New GUI root for temporary GUI elements
- Replies: 34
- Views: 10097
Re: New GUI root for temporary GUI elements
Incredible, thanks for the hard work!