Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to control application font size #615

Closed
GoogleCodeExporter opened this issue Jun 28, 2015 · 13 comments
Closed

Option to control application font size #615

GoogleCodeExporter opened this issue Jun 28, 2015 · 13 comments

Comments

@GoogleCodeExporter
Copy link

One high resolution screens default font size might be too small, and one may 
want to increase font size across the whole application (menus, dialogs, etc.)

Original issue reported on code.google.com by dbarashev on 16 Oct 2012 at 4:17

@GoogleCodeExporter
Copy link
Author

So, as we're close to the release, I decided to add this option with no UI. It 
sits in the settings file (.ganttproject in your home directory), and named 
appFontSize. Search for this tag in this file:

<option id="ui.ui.appFontSize" value="0"/>

and increase value to increase font size (or decrease it to make font smaller). 
"0" corresponds to default font size

Original comment by dbarashev on 16 Oct 2012 at 5:26

  • Changed state: Fixed

@GoogleCodeExporter
Copy link
Author

This does nothing for me. I don't see a settings file in the home directory 
with these options 

Original comment by ramse...@gmail.com on 10 Apr 2013 at 12:09

@GoogleCodeExporter
Copy link
Author

#2 Depending on your operating system, it might be hidden or home directory 
might be not what you think it is. In particular, Windows is likely to hide 
files which start with dot in Windows Explorer interface.

Original comment by dbarashev on 10 Apr 2013 at 1:32

@GoogleCodeExporter
Copy link
Author

I found the file and the tag. Changed the appFontSize to "10", nothing. Changed 
to "50", nothing still. Tried with negative figures to decrease the size, well, 
the only thing that changed was my confusion. I mean, I shouldn't make any 
mistake just changing the value and pressing 'save'.

Please advise. Thanks in advance!

Original comment by pea...@gmail.com on 20 Jun 2013 at 7:30

@GoogleCodeExporter
Copy link
Author

Did you restart GanttProject after changing the value? It works fine for me.

Original comment by dbarashev on 27 Jun 2013 at 10:11

@GoogleCodeExporter
Copy link
Author

I can't change the font size for the chart area -- only the menus and dialogs 
-- here are all my font settings from ~/.ganttproject:

 <font category="menu" spec="Dialog-plain-16"/>
 <font category="chart-main" spec="SansSerif-plain-16"/>
and
 <option id="ui.ui.appFontSize" value="16"/>

Results are shown in the attached screenshot.  I'm using Ubuntu 14.04LTS 
amd-64, and I've tried this in both 2.6.6 Brno (build 1715) and 2.7 Ostrava 
build 1 (build 1700).

Any suggestions?  thanks.

Original comment by n...@creativedigitalsys.com on 4 Aug 2014 at 3:19

Attachments:

@GoogleCodeExporter
Copy link
Author

#6 This setting <font category="chart-main" spec="SansSerif-plain-16"/>
only affects labels which are drawn next to task bars. There are also settings 
for the font which is used in the timeline, and, unfortunately, they sit in 
another file hidden inside plugins 
(plugins/net.sourceforge.ganttproject/data/resources/chart.properties in case 
if you're curious)

This is a mess, of course, and we need to make it over. However, it is out of 
scope of this ticket. I create issue #956 to track this issue.

Original comment by dbaras...@ganttproject.biz on 4 Aug 2014 at 3:42

@GoogleCodeExporter
Copy link
Author

Original comment by dbaras...@ganttproject.biz on 11 Nov 2014 at 10:36

  • Changed state: FeelFreeToTest
  • Added labels: __Fixed-In_2.7-betaIV

@GoogleCodeExporter
Copy link
Author

Original comment by dbarashev on 22 Jan 2015 at 4:59

  • Added labels: __Target-Ostrava
  • Removed labels: __Target-Brno

@GoogleCodeExporter
Copy link
Author

Closing all tickets with status "FeelFreeToTest". Feel free to reopen if the 
issue is still reproducible.

Original comment by dbaras...@ganttproject.biz on 18 Mar 2015 at 3:39

  • Changed state: Verified

@foice
Copy link

foice commented Oct 24, 2015

is this still up to date?
I have changed the fonts from the preferences but the names of the tasks in the left panale (not in the chart) do not change size.

I have tried

but it has not effect. Any idea?

@dbarashev
Copy link
Contributor

You can change the ont size in Application UI settings, field "Application font". It works fine at least wth Plastic appearance.

@foice
Copy link

foice commented Oct 26, 2015

yes, with plastic appearance this works. thanks a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants