Comments (2)
Also, why do those buttons have to be on the right side of the field anyways? If they were on the left, one could always use them without scrolling even if the fields extend beyond the visible area for some reason ..
from gate-core.
I've made a small improvement to this now in bcd227c - the field still doesn't shrink when you narrow the window again, but at least now when you switch to a different PR in the application that resets the width to fit the current window size rather than being forever more stuck at the maximum width you ever reached. Similarly, when creating a new PR instance the table grows when you widen the "new PR" window, doesn't shrink again when you narrow it, but at least resets when you close and re-open the window again.
I'm not really sure what the correct behaviour here should be - we can make the fields always track the parent width but everything I've tried for that means that they initially start far too narrow in the "new PR" window, and also you don't get the scroll bar for very long values (e.g. a really long creole://
URI - the only way to view the part that has run off the right is to click in the field and then move the cursor to the right with the keyboard).
I can think of two sensible-ish alternatives to the current UI
- move the buttons into their own column in the table, to the left of the current text field column, then there's a trick you can use on an N-column JTable to make the left M columns fixed and the horizontal scroll bar only scroll the right N-M ones
- disable horizontal scrolling altogether but do the kind of thing that Excel does when you are editing particularly long formulas and have a "..." button to pop up a multi-line editor if the single line one is too cramped
from gate-core.
Related Issues (20)
- NoSuchMethodError when 8.6 plugins try calling Utils.logOnce HOT 1
- PluginManager: odd sorting after adding plugin with "+" HOT 1
- Adding custom NER list HOT 1
- Redirects across protocols aren't followed when loading documents
- Fail gracefully on corrupt datastores
- Renaming a corpus in a datastore doesn't update the datastore HOT 3
- Document view doesn't update if you programatically change the content HOT 4
- Should the default for the ResourceReference really be a creole rather than a file URL? HOT 2
- Odd truncation of Token type names in the GUI HOT 14
- Odd problem loading the prepared ANNIE application HOT 6
- Proper GUI scaling on HiDPI displays. HOT 7
- Exception IndexOutOfBoundsException when exiting Gate HOT 1
- closing documents in the UI is slow HOT 2
- Characters including NONE_SPACING_MARK don't display properly in the annotation stack view HOT 2
- There is no button to go back through ANNIC results HOT 1
- Would you consider upgrading gate-core from JDOM 1.1.3 to JDOM 2.0.6? HOT 4
- OCR support in GATE HOT 1
- EmptyVisitor still refers to ASM5
- Java 17 support HOT 1
- Unable to load any plugin: no such file "creole.xml" HOT 5
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 gate-core.