NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Customize netbeans windows size

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
muteki



Joined: 12 Dec 2011
Posts: 3

PostPosted: Mon Dec 12, 2011 11:10 am    Post subject: Customize netbeans windows size Reply with quote

Hello, I'm new here and I hope to get along with everyone.

I'm working with netbeans over Ubuntu and I wonder if there is a way to customize netbeans windows. The problem I have is that the text on the windows is too big, I tried to minimize it just like I did with the editor text size (Tools->Options->Font&Color->Default) but I couldn't find any option related to it. In a normal case I'd have tried to work under a bigger resolution but I'm already working with it.


Thanks in advance.

PD: I'm not english native, so sorry if I make a few mistakes.
Back to top
Jiri Prox
Posted via mailing list.





PostPosted: Tue Dec 13, 2011 7:41 am    Post subject: Customize netbeans windows size Reply with quote

Hi,

you can customize font size using --fontsize switch. Just add it to the
command line or into netbeans.conf file.
Example:
./netbeans --fontsize 14

Setting in fonts&colors are related only to editor content.

Hope it helps
Jirka

On 12.12.2011 12:10, muteki wrote:
Quote:
Hello, I'm new here and I hope to get along with everyone.

I'm working with netbeans over Ubuntu and I wonder if there is a way to customize netbeans windows. The problem I have is that the text on the windows is too big, I tried to minimize it just like I did with the editor text size (Tools->Options->Font&Color->Default) but I couldn't find any option related to it. In a normal case I'd have tried to work under a bigger resolution but I'm already working with it.


Thanks in advance.

PD: I'm not english native, so sorry if I make a few mistakes.



Back to top
muteki



Joined: 12 Dec 2011
Posts: 3

PostPosted: Tue Dec 13, 2011 11:53 am    Post subject: Reply with quote

Thanks for your reply Jiri Prox.

I added --fontsize 10 to the netbeans_default_options but it didn't work. However, I added this --fontsize 10 --laf javax.swing.plaf.metal.MetalLookAndFeel and It worked.
Back to top
Thomas Wolf
Posted via mailing list.





PostPosted: Tue Dec 13, 2011 1:51 pm    Post subject: Customize netbeans windows size Reply with quote

Jiri,
I'm using a Mac these days, but when I used to use Netbeans in Ubuntu (as is the original poster), using "--fontsize" on the command-line didn't do anything in the default GTK theme. You had to go through Ubuntu's Administration->Fonts (or something like that) and adjust the "Application Font" (or something like that). Only if you started Netbeans with other themes (e.g. Metal) did it respect the "--fontsize" argument.

Maybe my experience is dated?
tom

On Dec 13, 2011, at 2:35 AM, Jiri Prox wrote:

Quote:
Hi,

you can customize font size using --fontsize switch. Just add it to the
command line or into netbeans.conf file.
Example:
./netbeans --fontsize 14

Setting in fonts&colors are related only to editor content.

Hope it helps
Jirka

On 12.12.2011 12:10, muteki wrote:
Quote:
Hello, I'm new here and I hope to get along with everyone.

I'm working with netbeans over Ubuntu and I wonder if there is a way to customize netbeans windows. The problem I have is that the text on the windows is too big, I tried to minimize it just like I did with the editor text size (Tools->Options->Font&Color->Default) but I couldn't find any option related to it. In a normal case I'd have tried to work under a bigger resolution but I'm already working with it.


Thanks in advance.

PD: I'm not english native, so sorry if I make a few mistakes.



Back to top
Geertjan Wielenga
Posted via mailing list.





PostPosted: Tue Dec 13, 2011 2:31 pm    Post subject: Customize netbeans windows size Reply with quote

On 12/13/2011 02:44 PM, Thomas Wolf wrote:
Quote:
Jiri,
I'm using a Mac these days, but when I used to use Netbeans in Ubuntu (as is the original poster), using "--fontsize" on the command-line didn't do anything in the default GTK theme. You had to go through Ubuntu's Administration->Fonts (or something like that) and adjust the "Application Font" (or something like that). Only if you started Netbeans with other themes (e.g. Metal) did it respect the "--fontsize" argument.

Maybe my experience is dated?

Yes --fontsize is respected by Metal only as far as I know, on Ubuntu.

Gj
Quote:
tom

On Dec 13, 2011, at 2:35 AM, Jiri Prox wrote:

Quote:
Hi,

you can customize font size using --fontsize switch. Just add it to the
command line or into netbeans.conf file.
Example:
./netbeans --fontsize 14

Setting in fonts&colors are related only to editor content.

Hope it helps
Jirka

On 12.12.2011 12:10, muteki wrote:
Quote:
Hello, I'm new here and I hope to get along with everyone.

I'm working with netbeans over Ubuntu and I wonder if there is a way to customize netbeans windows. The problem I have is that the text on the windows is too big, I tried to minimize it just like I did with the editor text size (Tools->Options->Font&Color->Default) but I couldn't find any option related to it. In a normal case I'd have tried to work under a bigger resolution but I'm already working with it.


Thanks in advance.

PD: I'm not english native, so sorry if I make a few mistakes.



Back to top
Jiri Prox
Posted via mailing list.





PostPosted: Tue Dec 13, 2011 2:56 pm    Post subject: Customize netbeans windows size Reply with quote

Thanks for clarification Tom, you're right. I've just verified that
font size for GTK theme can be customized in System -> Preferences ->
Appearance -> Font, not by command line switch. (Ubuntu 11.04)

Thanks
Jirka

On 13.12.2011 14:44, Thomas Wolf wrote:
Quote:
Jiri,
I'm using a Mac these days, but when I used to use Netbeans in Ubuntu (as is the original poster), using "--fontsize" on the command-line didn't do anything in the default GTK theme. You had to go through Ubuntu's Administration->Fonts (or something like that) and adjust the "Application Font" (or something like that). Only if you started Netbeans with other themes (e.g. Metal) did it respect the "--fontsize" argument.

Maybe my experience is dated?
tom

On Dec 13, 2011, at 2:35 AM, Jiri Prox wrote:

Quote:
Hi,

you can customize font size using --fontsize switch. Just add it to the
command line or into netbeans.conf file.
Example:
./netbeans --fontsize 14

Setting in fonts&colors are related only to editor content.

Hope it helps
Jirka

On 12.12.2011 12:10, muteki wrote:
Quote:
Hello, I'm new here and I hope to get along with everyone.

I'm working with netbeans over Ubuntu and I wonder if there is a way to customize netbeans windows. The problem I have is that the text on the windows is too big, I tried to minimize it just like I did with the editor text size (Tools->Options->Font&Color->Default) but I couldn't find any option related to it. In a normal case I'd have tried to work under a bigger resolution but I'm already working with it.


Thanks in advance.

PD: I'm not english native, so sorry if I make a few mistakes.



Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo