ChatGPT icon indicating copy to clipboard operation
ChatGPT copied to clipboard

How to zoom or change font size?

Open yzcj105 opened this issue 2 years ago • 6 comments

Feature description

I wonder if it's possible to customize font size or zoom in level by modifying source or config files.

Motivation

The font is a bit small for me.

Alternatives

No response

Additional context

Something I tried, but failed.

  1. I tried Cmd + "+" , however it does not work.
  2. And I tried to go to the source file and see two scss files, src/layout/index.scss and src/main.scss. I tried to add zoom: 150% or font-size: 22pt, and run yarn dev. It seems they doesn't work.

So I wonder which file I should modify to customize the font-size and zoom level?

yzcj105 avatar Jan 14 '23 04:01 yzcj105

The website is loaded with an external URL, so it is not in the project and needs to be modified by injecting a script. The application supports script injection, which allows you to modify it through js.

lencx avatar Jan 14 '23 04:01 lencx

Thank you @lencx for your reply. I understand that the web is loaded though an external URL. I don't have too much knowledge on js or tauri. So I'd like to do it in an easier way. For example, in most web based desktop apps, such as Electron based, we still can use Cmd + "+" shortcuts to zoom in or Cmd + "-" to zoom out without manipulating the css file. Is it possible to enable that ?

yzcj105 avatar Jan 14 '23 19:01 yzcj105

I will optimize it in a future version, because there are still many important features to add to this application, but I am the only one developing it and I need to solve many problems at the same time. This project has already taken too much of my time and effort.

lencx avatar Jan 14 '23 19:01 lencx

Thank you very much!

yzcj105 avatar Jan 14 '23 19:01 yzcj105

I also came here to request the same feature (zooming in and out to change text size, etc...). That would be awesome!

Thank you for all your hard work on this project @lencx . The community is grateful.

eshack94 avatar Jan 14 '23 22:01 eshack94

Same problem .

Abdul-Kaium5 avatar Jan 15 '23 14:01 Abdul-Kaium5

https://github.com/lencx/ChatGPT/releases/tag/v0.10.1 New shortcut key to change zoom level (30% - 200%), + or - 10% each time, 0 will be reset to 100% (https://github.com/lencx/ChatGPT/issues/202)

  • Windows: Ctrl +, Ctrl -, Ctrl 0
  • MacOS: Cmd +, Cmd -, Cmd 0

zoom

lencx avatar Jan 25 '23 11:01 lencx

Thank you @lencx for the great feature!

yzcj105 avatar Jan 25 '23 11:01 yzcj105

Hello @lencx do you mind telling us how to increase font size for Linux users. Maybe pointing us to the file that should be modified and some documentation on how to compile similar applications could help. I have bad eyesight, I cannot use the application in it's current form, even a 20% increase would be enough. Thank you for your work

erickrex avatar Feb 17 '23 12:02 erickrex

@erickrex The linux shortcuts should be the same as the windows ones.

lencx avatar Feb 17 '23 15:02 lencx

Is it possible to change the font size on the Control Center page?

Orion120 avatar Apr 23 '23 13:04 Orion120

Doesn't work for me. Windows, 0.12.0. Seems like Ctrl+ and Ctrl- do nothing :(

wellmorq avatar May 19 '23 11:05 wellmorq