Menu

#910 can't change fonts

2: Annoying
closed-fixed
5
2015-02-18
2011-05-06
catcameo
No

No matter what size I make the screen to adjust font size, I can't get to the radio button to click OK and change it. I can see the button as I resize the window, but as soon as I let go of the window edge, the interior screens resize, and I can't see anything below the "quick brown fox" dialog. I saw that there were some problems in 2004, but they say that they were fixed. I can barely see the size 10 fonts. I tried 3 different versions of Dr. Java, r 5425.jar 5425.exe and r5387 stable.exe I run windows 7 professional and jdk 6.0_25

I tried it on the win xp computer with no jdk and jre 6_21 and it works fine...Any ideas?

Discussion

  • catcameo

    catcameo - 2011-05-06

    font adjustment page

     
  • Mathias Ricken

    Mathias Ricken - 2011-06-11

    I was able to reproduce this, which will allow me to work on a fix.

    In the meantime, you can use this work-around:
    1. Select whatever font you want.
    2. Select the desired value in the size column.
    3. Press Tab once.
    4. Press Space once.
    5. The dialog will close with the selected values.

     
  • Mathias Ricken

    Mathias Ricken - 2011-06-11
    • labels: 400402 --> UI: Windows-specific
    • status: open --> open-accepted
     
  • Mathias Ricken

    Mathias Ricken - 2011-06-12

    This has to do with the DPI setting in Windows 7 under Control Panel->Appearance and Personalization -> Display "Make text and other items larger or smaller".

    I haven't found out what we need to do to make DrJava's layout work, or even better, to respect those settings, but here is a related thread:

    http://stackoverflow.com/questions/2045811/java-automatically-adjusting-to-the-windows-7-font-size-adjustment

     
  • Mathias Ricken

    Mathias Ricken - 2011-06-12

    I have identified the problem. This dialog doesn't use a layout manager, instead it resizes the components manually. We should use something like GridBagLayout.

     
  • Mathias Ricken

    Mathias Ricken - 2011-06-13
    • assigned_to: nobody --> mgricken
    • status: open-accepted --> closed-fixed
     
  • Mathias Ricken

    Mathias Ricken - 2011-06-13

    Fixed as of revision 5433.
    Migrated to GridBagLayout, tested on Windows XP and 7.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.