Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

font size of Squirrel SQL too small

Tags:

squirrel-sql

The size of the font to enter the SQL is too small. What is the way to increase the size of the font to type the SQL ? In 'global options' there is a possibility to increase the size of the fonts. But this has no impact on the size of the text to enter the SQL.

like image 797
Rudy Vissers Avatar asked Aug 24 '15 07:08

Rudy Vissers


People also ask

How do I change font size in SQL?

Click Options on the Tools menu. Click Environment, and then click Fonts and Colors. In the Show settings for list, select Text Editor. Change the font, size, display item, foreground and background colors.

Why is my font size small?

Why is my font so small? Hold down the Ctrl key on your keyboard, and press the plus (+) key or the minus (-) key to make the on-screen text larger or smaller.

How do I make the text bigger in idle?

On the top menu, choose Options , then Configure IDLE . The Fonts/Tabs tab will be displayed. There is a Size button. Click on it and select a bigger size than the default of 10.


2 Answers

In the SquirreL SQL Client Version 3.7.1 you can able to increase the font size in the SQL Entry area.

Below is the procedure:

  1. Go to File --> New Session Properties

  2. Navigate to SQL Tab and then in the below you have the option called SQL Entry Area where you can increase your font size as you needed. Click here to see the screenshot

like image 65
Muhammad Usman Avatar answered Sep 27 '22 22:09

Muhammad Usman


I'm assuming you're using Windows 8.1 like I am. It seems some combination of 8.1, high DPI monitors, and Swing don't play well together. My fix was to edit the squirrel-sql.bat file and add the following java options right after the existing java option

-Dswing.plaf.metal.controlFont=Tahoma-18 -Dswing.plaf.metal.userFont=Tahoma-18 

For reference, the complete line is as follows:

start "SQuirreL SQL Client" /B "%LOCAL_JAVA%" -Xmx256m -Dsun.java2d.noddraw=true -Dswing.plaf.metal.controlFont=Tahoma-18 -Dswing.plaf.metal.userFont=Tahoma-18 -cp %SQUIRREL_CP% -splash:"%SQUIRREL_SQL_HOME%/icons/splash.jpg" net.sourceforge.squirrel_sql.client.Main %TMP_PARMS% 

EDIT: The above will increase the size for everything except the SQL entry field. For this, go to File->New Session Properties->SQL->SQL Entry Area

like image 31
James Freeman Avatar answered Sep 27 '22 23:09

James Freeman