Comments (5)
- 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.
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.
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.
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.
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)
- UI: Restore focus to graph node that gets dragged
- UI: Undo inherit causes graph to shift unexpectedly
- UI: Visualize non-local connection bindings
- Backend: Explicit progress indicator
- UI: Select git revision and show differences
- UI: Equation tree should scroll to edit full height of field HOT 1
- UI: Highlight references to variable HOT 1
- UI: Allow multiple selection in equation tree
- Python: Create pybind11 wrapper for C
- Language: Allow keyword arguments in functions
- Use Maven build system HOT 1
- Git rebase during pull
- Reduce size of model snapshots HOT 1
- UI: a delete that merely releases override is effectively not undoable
- UI: ability to zoom the model graph HOT 1
- Add `numpy` dependency to setupy.py HOT 1
- Consider removing absolute paths from `model.sh` HOT 4
- Fail export when requested model isn't found HOT 2
- Export model params as JSON HOT 1
- Export commit hashes for target & base model repos HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from n2a.