You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As a thought, have you tried adjusting things in Preferences → SQL?
In theory, the "SQL editor font" and the font size field below it should control that.
If that's not working for you, let us know so we can investigate. 😄
I think part of it was that I saw font settings on the data browser tab and tried them and then had my attention pulled away. Might be useful to group the font settings into one area/tab?
Unrelated, has anyone else had an issue with the data browser font and background color resetting to black on black when the app starts up?
It was on 9. I bumped it to 12. Part of me thinks it could do with 13 or 14 even, but the rest of me thinks I'm getting to old for my own good if I need that big a font.
With DB4S there are two settings for font size in Preferences, each affecting different things.
To change the font size for the Browse Data tab, go to Preferences → Data Browser → Font → Font size:
To change the font size for the Execute SQL tab, go to Preferences → SQL → SQL editor font size:
Does that help?
@justinclift I did go through the thread and figured that out from an earlier comment of yours. Thanks a lot for posting it again though :)
I was just wondering since there appeared to be a shortcut to decrease font size (in the Execute SQL tab), was there anything similar to increase font size as well.
Ironically... I didn't know/remember about the ⌘+- key combination. 😉
Testing it here now though... and yep it works. At a guess, it might be something we inherit from one of the widgets we embed (QScintilla). But not sure.
Trying out ⌘++, it works for me if I use the + key on the number pad (I'm using a full sized PC keyboard via usb). But it doesn't work for me using the + key on the main keyboard. 😦
it works for me if I use the + key on the number pad but it doesn't work for me using the + key on the main keyboard
There's a similar quirk in Windows. With date picker controls (eg:
You can click on the day and use the + and - to go forward/back a day.... unless you use the +/- on the main keyboard, when it does nothing. Annoyingly it doesn't work on my laptop either. 👎
Hmm.
The code has been changed, but default value is still 9 when I run the program, version 3.9.1.
Could there be some error in build system, not setting Q_OS_MAC correctly? (Or is this simply not yet in version 3.9.1)
(Code is in Settings.cpp, line 200 and forward).
// editor/fontsize or log/fontsize?
if((group == "editor" || group == "log") && name == "fontsize")
#ifdef Q_OS_MAC
// Use 12 pt size as the default on OSX
return 12;
#else
return 9;
#endif
No hard feelings.
And not to abrupt.
I should have done a better search.
Hoping I can contribute a bit in the future, right now only checking how to do things.
Best wishes
/Gunnar
Activity
justinclift commentedon Oct 12, 2016
As a thought, have you tried adjusting things in

Preferences→SQL?In theory, the "SQL editor font" and the font size field below it should control that.
If that's not working for you, let us know so we can investigate. 😄
OneMHz commentedon Oct 12, 2016
Well, I'm an idiot. I thought I went through all of the tabs. Shows me for reporting yesterday's issue today before trying again.
justinclift commentedon Oct 12, 2016
No worries at all. We all do things like that occasionally. 😉
revolter commentedon Oct 12, 2016
I remember I had the same problem when I first installed DB4S. Could we bump up the default size?
OneMHz commentedon Oct 12, 2016
I think part of it was that I saw font settings on the data browser tab and tried them and then had my attention pulled away. Might be useful to group the font settings into one area/tab?
Unrelated, has anyone else had an issue with the data browser font and background color resetting to black on black when the app starts up?
revolter commentedon Oct 12, 2016
For sure! Here it is: #737. I also noticed it too while working on another issue. Needs to be solved.
justinclift commentedon Oct 12, 2016
Ahhh, so the black on black thing wasn't just a one-off something. Seems like there's something about Sierra which is triggering it.
We'll probably need to raise the priority of it then, as Sierra is now in use by people.
justinclift commentedon Oct 12, 2016
@revolter If you want to increase the default font size, go for it. 😄
revolter commentedon Oct 12, 2016
As a curiosity, @OneMHz, what font size did you use?
OneMHz commentedon Oct 12, 2016
It was on 9. I bumped it to 12. Part of me thinks it could do with 13 or 14 even, but the rest of me thinks I'm getting to old for my own good if I need that big a font.
revolter commentedon Oct 12, 2016
I was thinking to bump it up to 12 too. I'll wait for more opinions then I'll do it, thanks!
MKleusberg commentedon Oct 12, 2016
I have it on 8 and it is still quite large?! Using the Bitstream Vera Sans Mono font. Writing text on a computer screen is so weirdly complicated.. ^^
revolter commentedon Oct 12, 2016
Hmm, I use 12 on a MacBook Pro Retina and an older iMac and it's not too small and not too large :-?
justinclift commentedon Oct 12, 2016
Heh Heh Heh, it might be practical to #ifdef the default to be OS specific.
31 remaining items
justinclift commentedon Oct 14, 2016
No worries. 😄
With DB4S there are two settings for font size in
Preferences, each affecting different things.To change the font size for the Browse Data tab, go to


Preferences→Data Browser→Font→Font size:To change the font size for the
Execute SQLtab, go toPreferences→SQL→SQL editor font size:Does that help?
whamsy commentedon Oct 14, 2016
@justinclift I did go through the thread and figured that out from an earlier comment of yours. Thanks a lot for posting it again though :)
I was just wondering since there appeared to be a shortcut to decrease font size (in the Execute SQL tab), was there anything similar to increase font size as well.
justinclift commentedon Oct 14, 2016
Ironically... I didn't know/remember about the ⌘+- key combination. 😉
Testing it here now though... and yep it works. At a guess, it might be something we inherit from one of the widgets we embed (QScintilla). But not sure.
Trying out ⌘++, it works for me if I use the + key on the number pad (I'm using a full sized PC keyboard via usb). But it doesn't work for me using the + key on the main keyboard. 😦
chrisjlocke commentedon Oct 14, 2016
There's a similar quirk in Windows. With date picker controls (eg:

You can click on the day and use the + and - to go forward/back a day.... unless you use the +/- on the main keyboard, when it does nothing. Annoyingly it doesn't work on my laptop either. 👎
justinclift commentedon Oct 17, 2016
@chrisjlocke I'd like to close this issue, as the default font size on OSX has been adjusted.
If you pick new font size for Windows, we can change it as well. 😄
ghellquist commentedon Dec 9, 2016
Hmm.
The code has been changed, but default value is still 9 when I run the program, version 3.9.1.
Could there be some error in build system, not setting Q_OS_MAC correctly? (Or is this simply not yet in version 3.9.1)
(Code is in Settings.cpp, line 200 and forward).
justinclift commentedon Dec 9, 2016
@ghellquist Yeah, this was added after the 3.9.1 release, so (in theory) it should be in the nightly builds from a few weeks after that release.
ghellquist commentedon Dec 9, 2016
justinclift commentedon Dec 9, 2016
No worries at all. Sorry if I was a bit abrupt, it's been one of those days... 😦
The download locations for our nightly builds are on the front page of our repo if that helps. 😄
ghellquist commentedon Dec 9, 2016
Change the default editor font size on OSX to 12pt
justinclift commentedon Jan 27, 2017
Closing this now, as it seems to be fixed. 😄
(if that's not the case, this is welcome to be reopened)