Comments (4)
I think this is a glitch with toggle sliders in general; it also happens with the playback "loop" slider
from shuffleboard.
I've determined the culprit (but not the underlying cause).
api/src/main/resources/edu/wpi/first/shuffleboard/api/base.css
.tile {
-fx-font-size: 11pt;
}
I can confirm the following behavior:
Font size | Correct behavior? |
---|---|
9pt | ✓ |
10pt | |
11pt | |
12pt | ✓ |
13pt | |
14pt | |
15pt | ✓ |
16pt | |
17pt | |
18pt | ✓ |
19pt | |
20pt | |
21pt | ✓ |
Seems like it works in 3pt-increments? This is also definitely interacting weirdly with something else in the stylesheets (either material
or base
), as these font sizes all work with the default controlsfx stylesheets.
The easiest fix I can think of would to add this to the base stylesheet:
.tile .toggle-switch {
-fx-font-size: 12pt;
}
but that doesn't fix the problems with toggle switches not in tiles that have their font sizes set, nor does it solve the issue of invisible toggle switches in tile property sheets
from shuffleboard.
.toggle-switch {
-fx-font-size: 12px !important;
}
?
from shuffleboard.
That would lock all toggle switches to the same size, which I would prefer not to do
from shuffleboard.
Related Issues (20)
- Field2d widget hit boundary can extend outside widget boundary
- Record camera streams alongside NT HOT 1
- It is possible to hang Shuffleboard by setting Graph Update Rate too high HOT 1
- Shuffleboard.startRecording() does not work when connected to FMS HOT 3
- Shuffleboard crashes frequently on MacOS HOT 4
- Shuffleboard continuously jumps back to start tab when using selectTab and kGyro HOT 5
- Shuffleboard does not display integer arrays correctly ("[J@......")
- Some network table sources fail to appear after restarting the network table server HOT 1
- MacOS Client Hangs When Changing NetworkTable address HOT 3
- Integer array updates do not appear in Shuffleboard
- NT NPE
- SmartDashboard tab of Shuffleboard doesn’t Repopulate on a File New
- Grid is off center.
- Command activation and deactivation buttons do not work properly. HOT 12
- Shuffleboard data disappears from widgets HOT 14
- CCE in loading CameraServer settings from saved layout JSON HOT 1
- Sendable Chooser returns default option despite correct option selected HOT 5
- CameraServer telemetry exceptions
- Utilize NT4 pub/sub in NT plugin
- Field2d widget causes exception every frame HOT 9
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 shuffleboard.