Option to miniaturize the category icon in the crafting window

Suggestions that have been added to the game.

Moderator: ickputzdirwech

Post Reply
z498279401
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Mar 24, 2021 1:21 pm
Contact:

Option to miniaturize the category icon in the crafting window

Post by z498279401 »

Snipaste_2021-07-07_15-52-39.png
Snipaste_2021-07-07_15-52-39.png (2.73 MiB) Viewed 4366 times
Please, can you add a miniaturization function of the category icon in the manufacturing bar? It's too inconvenient for the players who use laptops.

Qon
Smart Inserter
Smart Inserter
Posts: 2091
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: Version 1.1.35

Post by Qon »

z498279401 wrote:
Wed Jul 07, 2021 7:58 am
Please, can you add a miniaturization function of the category icon in the manufacturing bar? It's too inconvenient for the players who use laptops.
Does your laptop mean the minimum requirement specs (screen resolution) for Factorio?
Consider asking the mod authors that caused the problem to not add so many categories (and items?) or uninstalling mods that don't work very well on your laptop.

Koub
Global Moderator
Global Moderator
Posts: 7175
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Option to miniaturize the category icon in the crafting window

Post by Koub »

[Koub] Split from the 1.1.35 update thread into a suggestion of its own
Koub - Please consider English is not my native language.

z498279401
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Mar 24, 2021 1:21 pm
Contact:

Re: Version 1.1.35

Post by z498279401 »

Qon wrote:
Wed Jul 07, 2021 8:28 am
z498279401 wrote:
Wed Jul 07, 2021 7:58 am
Please, can you add a miniaturization function of the category icon in the manufacturing bar? It's too inconvenient for the players who use laptops.
Does your laptop mean the minimum requirement specs (screen resolution) for Factorio?
Consider asking the mod authors that caused the problem to not add so many categories (and items?) or uninstalling mods that don't work very well on your laptop.
This has nothing to do with my configuration. It's a GUI problem. My laptop has a 15.6-inch screen. It's Bob mod

z498279401
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Mar 24, 2021 1:21 pm
Contact:

Re: Option to miniaturize the category icon in the crafting window

Post by z498279401 »

If I adjust the zoom size, it will affect the font size, which makes it difficult for me to read the text
Snipaste_2021-07-07_16-12-00.png
Snipaste_2021-07-07_16-12-00.png (2.76 MiB) Viewed 4339 times

Qon
Smart Inserter
Smart Inserter
Posts: 2091
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: Version 1.1.35

Post by Qon »

z498279401 wrote:
Wed Jul 07, 2021 8:34 am
This has nothing to do with my configuration. It's a GUI problem. My laptop has a 15.6-inch screen. It's Bob mod
I didn't ask how big your screen was, I asked what resolution your screen is.
https://www.factorio.com/support/faq#q-minimal-pc-requirements wrote:The Minimum system requirements for running the game are:
1920x1080 screen resolution
The screenshot is 1363 x 698 so I guess that's your screen resolution then.

Your laptop does not meet the minimum requirements for Factorio.

The GUI problem doesn't exist in vanilla Factorio.
The GUI problem doesn't exist for computers that meet the minimum requirements for Factorio.

Your issue is not going to be a priority for Wube.

Wube supports mods for Factorio, but a quicker way to fix a problem that exists because a mod decided to add an unreasonably large amount of categories is to ask Bob to fix their mods. That interface wasn't meant to have 25 categories. Maybe in the future Factorio can have a scrollable category button view or something, but if you want something fixed now instead of hoping something maybe happens in a year then ask Bob for some solution.

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2227
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Option to miniaturize the category icon in the crafting window

Post by boskid »

This can be easily changed by mods as the size of those buttons is defined by the `filter_group_tab` style which takes its default values of minimal_width=64 and height=64 from core/prototypes/style.lua

z498279401
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Mar 24, 2021 1:21 pm
Contact:

Re: Option to miniaturize the category icon in the crafting window

Post by z498279401 »

Image
boskid wrote:
Wed Jul 07, 2021 9:37 am
This can be easily changed by mods as the size of those buttons is defined by the `filter_group_tab` style which takes its default values of minimal_width=64 and height=64 from core/prototypes/style.lua
A kind-hearted person helped me make a mod, and I think my problem has been solved

z498279401
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Mar 24, 2021 1:21 pm
Contact:

Re: Option to miniaturize the category icon in the crafting window

Post by z498279401 »

boskid wrote:
Wed Jul 07, 2021 9:37 am
This can be easily changed by mods as the size of those buttons is defined by the `filter_group_tab` style which takes its default values of minimal_width=64 and height=64 from core/prototypes/style.lua
https://mods.factorio.com/mod/smaller_filter_icons

Qon
Smart Inserter
Smart Inserter
Posts: 2091
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: Option to miniaturize the category icon in the crafting window

Post by Qon »

boskid wrote:
Wed Jul 07, 2021 9:37 am
This can be easily changed by mods as the size of those buttons is defined by the `filter_group_tab` style which takes its default values of minimal_width=64 and height=64 from core/prototypes/style.lua
In the mod that uses those styles (I haven't verified), is Factorio supposed to layout the icons with the same number of icons per row as the default styling? Seems like a bug in Factorio in how it handles custom styling that the reduced sized icons use the same number of rows instead of fewer rows with more category icons on them, with a styled size where that fits and would make sense as shown in the images.

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2227
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Option to miniaturize the category icon in the crafting window

Post by boskid »

Qon wrote:
Wed Jul 07, 2021 3:33 pm
is Factorio supposed to layout the icons with the same number of icons per row as the default styling?
Unfortunately the amount of buttons in a row is defined by a hardcoded named constant `selectGroupRowCount` with value of 6.

User avatar
eradicator
Smart Inserter
Smart Inserter
Posts: 5206
Joined: Tue Jul 12, 2016 9:03 am
Contact:

Re: Option to miniaturize the category icon in the crafting window

Post by eradicator »

@OP: If you have serious space issues you can also completely disable the buttons:

Code: Select all

/c game.player.disable_recipe_groups()
/c game.player.disable_recipe_subgroups()
Author of: Belt Planner, Hand Crank Generator, Screenshot Maker, /sudo and more.
Mod support languages: 日本語, Deutsch, English
My code in the post above is dedicated to the public domain under CC0.

Qon
Smart Inserter
Smart Inserter
Posts: 2091
Joined: Thu Mar 17, 2016 6:27 am
Contact:

Re: Option to miniaturize the category icon in the crafting window

Post by Qon »

boskid wrote:
Wed Jul 07, 2021 3:44 pm
Qon wrote:
Wed Jul 07, 2021 3:33 pm
is Factorio supposed to layout the icons with the same number of icons per row as the default styling?
Unfortunately the amount of buttons in a row is defined by a hardcoded named constant `selectGroupRowCount` with value of 6.
That's unfortunate, yes. Well I don't play with mods that introduce so many categories that I would need this at least, so it doesn't really matter to me that much. I do have Editor Extensions, Creative Mod, Capsule Ammo (adds category depending on mod settings), Circuit Group that each define their own groups, but that's just 5 extra (I have many mods and one unknown adds another extra category) so I can deal with it...

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2227
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Option to miniaturize the category icon in the crafting window

Post by boskid »

In 1.1.36 this constant will be exposed to utility constants under name `select_group_row_count` (=6). There will be also 7 more constants exposed, from which i may expect 4 to be usable by mods (select_slot_row_count=10, inventory_width=10, module_inventory_width=10, flying_text_ttl=80)


z498279401
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Mar 24, 2021 1:21 pm
Contact:

Re: Option to miniaturize the category icon in the crafting window

Post by z498279401 »

boskid wrote:
Wed Jul 07, 2021 5:14 pm
In 1.1.36 this constant will be exposed to utility constants under name `select_group_row_count` (=6). There will be also 7 more constants exposed, from which i may expect 4 to be usable by mods (select_slot_row_count=10, inventory_width=10, module_inventory_width=10, flying_text_ttl=80)
:D :D :D :D :D :D

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Option to miniaturize the category icon in the crafting window

Post by ssilk »

moving to implemented
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

z498279401
Burner Inserter
Burner Inserter
Posts: 15
Joined: Wed Mar 24, 2021 1:21 pm
Contact:

Re: Option to miniaturize the category icon in the crafting window

Post by z498279401 »

boskid wrote:
Wed Jul 07, 2021 5:14 pm
In 1.1.36 this constant will be exposed to utility constants under name `select_group_row_count` (=6). There will be also 7 more constants exposed, from which i may expect 4 to be usable by mods (select_slot_row_count=10, inventory_width=10, module_inventory_width=10, flying_text_ttl=80)
In version 1.1.36, I didn't find "select_ group_ row_ count” :?:

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2227
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: Option to miniaturize the category icon in the crafting window

Post by boskid »

z498279401 wrote:
Wed Jul 14, 2021 1:15 am
In version 1.1.36, I didn't find "select_ group_ row_ count” :?:
Eh... i forgot to add those constants to be listed in the prototype explorer gui.

But they are there and they work. I made a really simple mod with only those changes:

Code: Select all

data.raw["utility-constants"]["default"].select_group_row_count = 2
data.raw["utility-constants"]["default"].select_slot_row_count = 4
data.raw["utility-constants"]["default"].inventory_width = 7
And sure it looks as expected from those values:
99149-gui_check.png
99149-gui_check.png (107.94 KiB) Viewed 4069 times

Post Reply

Return to “Implemented Suggestions”