Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
600 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 Reply

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...