Comments (5)
Update: this does not happen consistently.
And a question: is the right border of a subcell anchored with an absolute value to the right border of its parent? When narrowing the parent, the distance between borders remains constant, which can lead to very slim child cells.
from treesheets.
The column width is per grid column. Cell 1 and Cell 2 are in different columns.
The narrowing/widening operates on the current column and all nested columns beneath it. So I am guessing what happened is that it was narrowed with Cell 1 or the parent of Cell 2 selected, then widened while only Cell 2 is selected. The end result is as intended.
If something else is happening, can you give an exact repro (including what cells were selected at time of operation)
from treesheets.
Ah, so. I had the expectation (ingrained from use of many other apps) that a content would always flow to fill the full available width.
Just for curiosity: what is the benefit of empty areas as in cell 1, second image? A full width auto-reflow would free vertical space and improve overviews, ISTM.
Thank you for the assistance and this useful app!
Closing as resolved.
from treesheets.
There is no particular advantage.
I guess layout is a single pass algorithm, and the available width is not known at the start. Any cell could make the actual rendered width wider and thus give more visual space to cells before it that have already been layouted.
"column width" is based on characters, but the rendering is based on pixels derived from text width, so can be wildly different esp with unicode chars.
The only way to do what you expect is a two pass algorithm, where thus the pixel text width of everything is computed twice, which is fairly expensive.
from treesheets.
Ah! Thank you.
from treesheets.
Related Issues (20)
- Orientation of the program interface HOT 3
- The editing view is inconsistent with the preview and export views HOT 4
- Exported csv file code irrecognized HOT 3
- F7 not working to toggle text placement to above or beside grids HOT 3
- Bug: cursor position wrong on Windows 10 when not using default font HOT 1
- Make sub-grids use all available width for a large number of them -- possible? HOT 2
- TreeSheets freezes when I try to import file HOT 3
- FreeBSD: cmake install paths on non-linux HOT 14
- Material icons all look the same HOT 5
- [Feature request] Copy table as CSV HOT 1
- /usr/bin/ld: lib/wxWidgets/lib/libwx_gtk3u_core-3.3.a(utilsx11.cpp.o): undefined reference to symbol 'XGetWindowAttributes'
- I propose a translation of the RU help file... HOT 15
- How are the colors in xml coded? HOT 4
- Does TS honor attribute-sets in the xml import? HOT 2
- XML export>import loses formatting HOT 8
- Latest binaries mising libtiff.so.5 HOT 6
- Inconsistency when coloring cell with "apply last cell color" and "open cell colors"
- Suggestion: Version number in "About..." window, semantic versioning HOT 2
- Possible to support wxGTK 3.0? HOT 6
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 treesheets.