Comments (4)
How would you like this solved? If the value really is THAT big, should we truncate it at some point? Should the tooltip panel be as large as possible with scrollbars? (Can scrollbars even be interacted with in a tooltip? I doubt it, since I don't think our tooltips will accept focus.)
from maptool.
I think that any attempt to show it whole will cause the same crash as its simply too big. So to be save I would opt for truncating it after a certain length.
MT can handle pretty long strings, but e.g. 3000+ character makes it crash (just tried it). So 200 max?
from maptool.
MT is not displaying the tool tip, the JIDE framework is. I've overridden the code that determines what should be displayed for the tool tip on the Properties panel and limited the text to 100 characters plus an ellipsis. I tested it with multiple properties with lengths of at least 200 characters for the values and it looks to be working.
from maptool.
Awesome! Can't wait to test. Thnx
from maptool.
Related Issues (20)
- [Refactoring] Consolidate duplicate label i18n strings
- [Bug]: Lib:Token can no longer be found
- [Bug]: Trusted macro output colours preferences do not display HOT 1
- [Feature]: Update Text Labels to make them easier to read. HOT 11
- [Bug]: Cursor for VBL drawing does not change when tokens have alternate statsheets
- [Feature]: General base number instead of fixed 5-feet for all distance calculations
- [Feature]: Allow a text file to be dragged from the Library onto a map as a token through which the text data (any form of text data) can be accessed and parsed.
- [Feature]: Optional Additive Lights
- [Feature]: Custom Events
- [Feature]: Add Token Types in getInfo("campaign") HOT 1
- [Bug]: library.getContents() sometimes returns an empty JSON array
- [Feature]: MapTool should offer to reconnect when an error causes a server disconnect
- [Feature]: Have Campaign Properties>Token Properties tab remember last selection. HOT 1
- [Bug]: Disappearing text labels in imported map from older version HOT 1
- [Bug]: Opening older campaign, text labels move and have invisible text color HOT 1
- [Bug]: Error adding add-on with new stat-sheet HOT 1
- [Bug]: onChangeSelection not triggering on hidden tabbed frames
- [Bug]: Update Token Property edits with "OK" button. HOT 1
- [Bug]: Update Token Property window to keep selected property in view when using Move Up and Move Down. HOT 1
- [Bug]: input() MTscript function not working on some locale settings
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 maptool.