Author Topic: font size or zoom level issue  (Read 14310 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
font size or zoom level issue
« on: February 08, 2011, 09:29:12 am »
I am currently using the debugger branch, so this issue only appeared to me since yesterday after the merge.

The font size is not rather small (where before it was at an acceptable level, I never ever changed it). So I zoomed in a bit, and had the edito setting checked, that all editors are at the same zoom level.
So for so good.

I shut down CB, and restart CB, and the zoom level was retained, and CB showed me the editors that were open from the previous session. Nice.
But the moment I open a new editor, everything jumps back to that small font(zoom level).

How can I prevent that, or how can I specify the default font size, or better in this case, the default zoom level ?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: font size or zoom level issue
« Reply #1 on: February 08, 2011, 09:37:53 am »
I guess you have worked with zoomed editors all the time (without knowing this).
If you set the font size via "Settings -> Editor -> General settings -> Font -> Choose".

In older revisions a changed zoom was stored and used for all new editors (except for the second view in split view).

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: font size or zoom level issue
« Reply #2 on: February 08, 2011, 10:07:17 am »
That might well be possible. But in the meantime I have opened more files, and I think I have seen at least 3 different font sizes pass by.

How can I reset everything back to the factory font size /zoom level.

Or is there already per project / per file something stored in the layout files ? So might need to delete all the layout files ?

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7252
Re: font size or zoom level issue
« Reply #3 on: February 08, 2011, 10:17:10 am »
The layout is saved so it will be restored if the projects are reopened.
To reset all layouts of an open project, open the editor configuration dialog and make sure "Rest zoom of all editors to default ..." is checked.

I also added a keyboard shortcut (Ctrl+0) to "Edit -> Special commands-> Zoom -> Reset", if "Zooming resizes all editors" is schecked, you can reset the zoom of all open editors to default.

But the layout file (if it was created after the changes with trunk>=6935  or db >=6941) will take precedence, so removing it makes sure the default size is used.

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: font size or zoom level issue
« Reply #4 on: February 08, 2011, 10:22:07 am »
kicked out the layout files, and enlarged the default font size. All is now like it was before :-)

thanks