Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Thumbnails #2

Open
macMikey opened this issue Feb 18, 2018 · 5 comments
Open

Add Thumbnails #2

macMikey opened this issue Feb 18, 2018 · 5 comments

Comments

@macMikey
Copy link
Contributor

PB is missing thumbnails in the latest versions, and LC isn't that interested in re-adding it, so it would be cool if Navigator added that missing feature.

@gcanyon
Copy link
Owner

gcanyon commented Feb 18, 2018 via email

@macMikey
Copy link
Contributor Author

I'll send you a sample. You can see in the list that for each object there's a thumbnail of the object, making it easy to visually identify which object you're looking at without having to refer to the name. Within groups it did the same thing, so for datagrids, for instance, you can easily see what is what.

@gcanyon
Copy link
Owner

gcanyon commented Feb 19, 2018 via email

@gcanyon
Copy link
Owner

gcanyon commented Feb 19, 2018 via email

@gcanyon
Copy link
Owner

gcanyon commented Feb 19, 2018

Wow. Pays to check...

I set up a quick test using some simple emoji: a rabbit, a duck, etc. Set the HTMLtext of a field to a hundred random lines a hundred times. Took just over a second.

Tried the same thing with a 36 point Geneva character preceding each line instead -- took about a second, a little faster, but just a little.

Tried again without the 36 point -- took 1.3 seconds!

Tried again using no fonts, just plain text, like Navigator -- Still about 1.3 seconds.

Tried again using image source -- was slightly faster than all the rest!

I found that plain text scaled somewhat better; if I changed the test to 10,000 lines, plain text was roughly 1/3 faster than the others except the image source, which was faster than the others, but not as fast as plain text.

Still, that's quite remarkable.

I'm going to have to ponder this a bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants