Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
587 views
in Technique[技术] by (71.8m points)

resize - How to change the size of the module icon in Netbean

So, i have the module icon like this :

module icon

I am wondering how to change the size looks bigger, since when our screen resolution get bigger, the module icon size looks small.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

You can't explicitly change the sizes of those module icons in NetBeans, but it can be done implicitly by increasing the size of the font used by the NetBeans IDE.

That font size is unrelated to the font size used for displaying your source code; instead it is used for rendering IDE text such as labels on tabs ("Files", "Services", etc.), menu entries and file names within panels such as the Projects tab. When the font size of a file name is changed, NetBeans also makes a corresponding increase or decrease to the size of the icon (e.g. the module icon) to its immediate left.

To modify the font size used by NetBeans specify the fontsize parameter when starting NetBeans. For example, to get NetBeans to use 18 point font (not recommended!) on Windows 10 I made this call:

C:NetBeans82_151in etbeans64.exe --fontsize 18

The second screen shot below shows that using 18 point font also increased the size of the icons:

DefaultFont

18PointFont

I deliberately used a significantly larger font to clarify the effect of the change in the screen shots, and the overall result was ugly. But for your purposes perhaps a smaller increase in font size will help you with the size of the icons.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...