Giter Site home page Giter Site logo

Comments (5)

frothga avatar frothga commented on June 6, 2024
  • Fixed equation tree to update font. A related issue is that the size of cells depends on font size. The sequencing of actions during updateUI() can cause the cell size to not match the new font size. Fixed that for equation tree as well. There appears to be a similar problem with references, but don't have time to hunt it down now.
  • The Look & Feel tab itself does not start up with the chosen font size (when different than 1). However, it does change font size correctly.
  • To address the color issue, it may be necessary to define foreground colors specific to each L&F. Blue, Black and Red only work well for L&Fs which use light colors. Maybe define a dark background version and a light background version, and switch between them based on the current background color.

from n2a.

frothga avatar frothga commented on June 6, 2024

Fixed most issues with L&F. However, one outstanding problems is that the highlight color in equation trees and graph node titles is not updated correctly. This is particularly noticeable in Nimbus, where the lack of a proper highlight beneath a white title makes it invisible.

from n2a.

frothga avatar frothga commented on June 6, 2024

Nimbus seems to be the only remaining problem. Highlighting actually works correctly when switching between all other available L&Fs. However, after switching to Nimbus, the highlight remains screwed up when changing between other L&Fs.

from n2a.

frothga avatar frothga commented on June 6, 2024

Nimbus sets Tree.rendererFillBackground to false, effectively disabling the highlight in DefaultTreeCellRenderer. (Probably Nimbus paints the highlight in the TreeUI itself.) This explains the disappearing highlight, but not why the highlight remains screwed up after switching away from Nimbus.

from n2a.

frothga avatar frothga commented on June 6, 2024

Added a fix to use Nimbus' background painter when it is present and the cell is not in a tree.

Also fixed the lingering highlight problem. The issue was that DefaultTreeCellRenderer would not update the color if it was not currently a UIResource.

from n2a.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.