# Menu size to task list font size

**URL:** <https://help.ganttproject.biz/t/menu-size-to-task-list-font-size/7287>\
**Category:** GanttProject Desktop Support\
**Created:** [June 24, 2023, 3:11pm UTC](https://help.ganttproject.biz/t/menu-size-to-task-list-font-size/7287 "2023-06-24T15:11:52Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![csimeon](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/csimeon/32/266_2.png) [@csimeon](https://help.ganttproject.biz/u/csimeon)\
**Post date:** [June 24, 2023, 3:11pm UTC](https://help.ganttproject.biz/t/menu-size-to-task-list-font-size/7287/1 "2023-06-24T15:11:53Z")

</div>

Hi!  
When I change the size of the fonts in the task list, the menu bar font and icon sizes change as well.  
But the fonts at the menu bar are already significantly larger than those used for the task list

 ![image](https://help.ganttproject.biz/uploads/default/original/2X/8/81a85335094b8d0d6177f75b09fc6524be70f25f.png)

As a result either the menu bar becomes huge (taking up significant screen space) or I stress my eyes to read the task names on the list.  
Is there some setting I’m missing? can I manually change something in the ini file?  
If not, that is an important feature for me, that I would like in a future release.

---

<div class="post-metadata">

**Author:** ![csimeon](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/csimeon/32/266_2.png) [@csimeon](https://help.ganttproject.biz/u/csimeon)\
**Post date:** [June 30, 2023, 12:24pm UTC](https://help.ganttproject.biz/t/menu-size-to-task-list-font-size/7287/2 "2023-06-30T12:24:46Z")

</div>

Help with this please?

---

<div class="post-metadata">

**Author:** ![malcaraz](https://help.ganttproject.biz/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@malcaraz](https://help.ganttproject.biz/u/malcaraz)\
**Post date:** [July 3, 2023, 7:56am UTC](https://help.ganttproject.biz/t/menu-size-to-task-list-font-size/7287/3 "2023-07-03T07:56:20Z")

</div>

Search for “font size” and you will find some ideas 😃  
Here is [my contribution](https://help.ganttproject.biz/t/ganttproject-visualization-and-exporting-share-your-data-for-visualization/5632)

… and have you tried to use [IA-based query](https://www.perplexity.ai/search/1c897a4c-49a3-474c-a905-3cc9fba56ecf?s=c) about this? 😮

Hope this helps!

---

<div class="post-metadata">

**Author:** ![csimeon](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/csimeon/32/266_2.png) [@csimeon](https://help.ganttproject.biz/u/csimeon)\
**Post date:** [July 4, 2023, 8:01am UTC](https://help.ganttproject.biz/t/menu-size-to-task-list-font-size/7287/4 "2023-07-04T08:01:55Z")

</div>

Hi thanks, but no fix.  
About your contribution:  
The settings of the config file (your items 7 and ( I have already done, based on an older post:

> [@Task font illegibile / aliasing in 3.2.3240](https://help.ganttproject.biz/t/task-font-illegibile-aliasing-in-3-2-3240/4742/10):
>
> Is everything okay on the main laptop display too?

That helped then.  
Now when I increase the uiScale to 2 (from 1) both menu bar and task name fonts increase, so I’m left with the same issue.  
I would like to disassociate menu size from task name font size

---

<div class="post-metadata">

**Author:** ![csimeon](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/csimeon/32/266_2.png) [@csimeon](https://help.ganttproject.biz/u/csimeon)\
**Post date:** [July 4, 2023, 8:09am UTC](https://help.ganttproject.biz/t/menu-size-to-task-list-font-size/7287/5 "2023-07-04T08:09:24Z")

</div>

Ok! DPI setting worked!

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [July 4, 2023, 12:47pm UTC](https://help.ganttproject.biz/t/menu-size-to-task-list-font-size/7287/6 "2023-07-04T12:47:29Z")

</div>

do you have a custom DPI value in the settings?

---

<div class="post-metadata">

**Author:** ![csimeon](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/csimeon/32/266_2.png) [@csimeon](https://help.ganttproject.biz/u/csimeon)\
**Post date:** [July 4, 2023, 12:51pm UTC](https://help.ganttproject.biz/t/menu-size-to-task-list-font-size/7287/7 "2023-07-04T12:51:23Z")

</div>

Not changed now afterall, before maybe because the config file is retained thru updates.  
My current config file looks like this:

```auto
# GanttProject runtime options
-Xms32m
-Xmx1024m
-Dsun.java2d.d3d=false
-ea
--add-exports javafx.controls/com.sun.javafx.scene.control.behavior=ALL-UNNAMED
--add-exports javafx.base/com.sun.javafx=ALL-UNNAMED
--add-exports javafx.controls/com.sun.javafx.scene.control=ALL-UNNAMED
--add-exports javafx.controls/com.sun.javafx.scene.control.skin=ALL-UNNAMED
--add-exports javafx.controls/com.sun.javafx.scene.control.skin.resources=ALL-UNNAMED
--add-exports javafx.controls/com.sun.javafx.scene.control.inputmap=ALL-UNNAMED
--add-exports javafx.graphics/com.sun.javafx.scene.traversal=ALL-UNNAMED
--add-exports javafx.graphics/com.sun.javafx.scene=ALL-UNNAMED
--add-exports javafx.graphics/com.sun.javafx.tk=ALL-UNNAMED
--add-exports javafx.graphics/com.sun.javafx.util=ALL-UNNAMED
--add-opens java.desktop/sun.swing=ALL-UNNAMED
-Dsun.java2d.uiScale=1.0
-Dprism.allowhidpi=false

```

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [July 4, 2023, 12:53pm UTC](https://help.ganttproject.biz/t/menu-size-to-task-list-font-size/7287/8 "2023-07-04T12:53:13Z")

</div>

I meant the settings in GP Edit \> Settings pane. They are not related to this ini file.

---

<div class="post-metadata">

**Author:** ![csimeon](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/csimeon/32/266_2.png) [@csimeon](https://help.ganttproject.biz/u/csimeon)\
**Post date:** [July 4, 2023, 12:58pm UTC](https://help.ganttproject.biz/t/menu-size-to-task-list-font-size/7287/9 "2023-07-04T12:58:17Z")

</div>

![image](https://help.ganttproject.biz/uploads/default/original/2X/9/9f487932a4d5768c87581e096ba3fc4a6744651b.png)

and the resulting sizes are balanced: application font (and task list)/ base chart font  
The important change was the DPI to 100  
Compare the following screenshot to the one initially, at the top of the topic

 ![image](https://help.ganttproject.biz/uploads/default/original/2X/e/ecb98476b1661064729670025be1942bb5164ec2.png)

---

<div class="post-metadata">

**Author:** ![csimeon](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/csimeon/32/266_2.png) [@csimeon](https://help.ganttproject.biz/u/csimeon)\
**Post date:** [July 4, 2023, 1:32pm UTC](https://help.ganttproject.biz/t/menu-size-to-task-list-font-size/7287/10 "2023-07-04T13:32:31Z")

</div>

I guess DPI refers to the menu fonts? and is calculated in conjunction with the Windows Display DPI.  
Lowering that value brought the menu sizes to match the fonts of the task list.  
@malcaraz also has his settings posted, see his link above.

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [July 4, 2023, 1:38pm UTC](https://help.ganttproject.biz/t/menu-size-to-task-list-font-size/7287/11 "2023-07-04T13:38:11Z")

</div>

DPI is not related to Windows Display DPI. Think of it as just an internal user interface scaling factor which may or may not be considered in different parts of GanttProject code.

---

<div class="post-metadata">

**Author:** ![csimeon](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/csimeon/32/266_2.png) [@csimeon](https://help.ganttproject.biz/u/csimeon)\
**Post date:** [July 4, 2023, 3:34pm UTC](https://help.ganttproject.biz/t/menu-size-to-task-list-font-size/7287/12 "2023-07-04T15:34:07Z")

</div>

> [@DmitryBarashev](#):
>
> DPI is not related to Windows Display DPI

They are I think cumulative though, no? ie if you “start” with large display fonts from windows, this setting is “on top” of that

---

<div class="post-metadata">

**Author:** ![DmitryBarashev](https://help.ganttproject.biz/user_avatar/help.ganttproject.biz/dmitrybarashev/32/406_2.png) [@DmitryBarashev](https://help.ganttproject.biz/u/DmitryBarashev)\
**Post date:** [July 4, 2023, 3:39pm UTC](https://help.ganttproject.biz/t/menu-size-to-task-list-font-size/7287/13 "2023-07-04T15:39:41Z")

</div>

Maybe, I am not sure.

---

<div class="post-metadata">

**Author:** ![malcaraz](https://help.ganttproject.biz/letter_avatar_proxy/v4/letter/m/45deac/32.png) [@malcaraz](https://help.ganttproject.biz/u/malcaraz)\
**Post date:** [July 5, 2023, 9:16am UTC](https://help.ganttproject.biz/t/menu-size-to-task-list-font-size/7287/14 "2023-07-05T09:16:47Z")

</div>

I think so. I work with 150% font increase in windows.  
that is why I share my configuration, to collect contributions of data, sampling GP users with configurations in which Ganttproject settings are OK to work with.
