Comments (14)
Hiding cropped line is now implemented in master branch.
from flatlaf.
Hiding cropped edge, TY so much!. Would still like to be able to replace or hide the scroller and have the above described scrolling.
from flatlaf.
Thanks for your feedback. What exactly is the problem? Is it just the cropped line? I don't like that as well. Can't remember the reason for not removing it yet. But will do in next release.
Want also change the arrow colors slightly so that it is easier to see the difference between enabled and disabled arrows.
Any other issues? Is something wrong with the general functionality of TabScroller? Thx.
from flatlaf.
Yes that cropped line has been an eyesore for years. Im ok with the buttons but they dont respond as a normal scrollbar would. It would be nice to be able to literally scroll right to left like you can do in the IJ tab run. My ideal option would be to be able to replace the buttons with an "overflow" menu like IJ so that hidden tabs can be selected. and to have the tabs scroll using normal scrolling (from trackpad gestures or arrow keys)
from flatlaf.
I realize thats asking alot, but to get this tab layout into this century that CroppedEdge line simply must go.
from flatlaf.
There could be some settings to:
- Have the left scroller on the left of the tabs, and the right scroller on the right of the tabs.
- The mouse wheel over the tabs could scroll left right.
Note that while I would love having the above to improve the look, I would be afraid that it breaks my hack of the BasicTabbedPaneUI which allows me to have a component on the left and/or a component on the right. See:
By-the-way, if I had a simple way to add my left and right components without a hack in FlatLaf, that would be great 😉
from flatlaf.
Thanks for your great ideas.
To summarize:
remove cropped linearrow buttons should repeat scrolling as long as pressed(implemented in #187)scroll with mouse wheel or trackpad if mouse is over tabs area; if active tab becomes invisible (scrolled to outside), then it should be scrolled back to visible when mouse leaves tabs area (as in IJ)(implemented in #187)"overflow" menu like IJ(implemented in #190)left arrow button on left side of tabs area and show left/right buttons only if necessary (hide disabled arrows)(implemented in #211)support adding custom components to left and right sides of tabs area(implemented in #192)optionally shorten long tab text(implemented in #199)close button in tabs (issue #31)(implemented in #193)
With all that improvements it would also make sense to change the default tab layout policy to scrolling to avoid multi-line tabs.
from flatlaf.
I am not sure this bug should be closed: the possible improvements mentioned in @DevCharly 's 2nd comment are not implemented and they perfectly match the idea of this bug entry.
from flatlaf.
Yep, still like to implement improvements for tabbed panes...
from flatlaf.
Wheel scrolling and repeating arrow buttons are now implemented in PR #187
from flatlaf.
"Show Hidden Tabs" button (like in IntelliJ IDEA) is now implemented in PR #190
from flatlaf.
Support adding custom components to left and right sides of tabs area is now implemented in PR #192
from flatlaf.
Closable tabs are now implemented in PR #193
from flatlaf.
released in 0.44
from flatlaf.
Related Issues (20)
- Add Hostname to Title Bar when X11 Forwarding HOT 10
- 3.4 - JVM crash on macOS HOT 5
- Global menu for Linux distros HOT 5
- Wrap FileChooser's shortcuts panel in vertical scroll pane
- Embedded binaries are not signed on macOS HOT 1
- Random JProgressBar exceptions HOT 5
- Request: JSplitPane.expandableSide "none" property HOT 5
- ToolTip is refreshing multiple times when cursor is moving HOT 5
- ScrollBar for JList not working HOT 1
- Illegal Reflective Access when using JFileChooser HOT 1
- Unable to get table header seperator line. HOT 2
- Appear a red square icon when using FlatImageIcon HOT 1
- How to set the TitleBar height on macOS in AWT? HOT 2
- Laf animation HOT 2
- Rounded Panel clipping image HOT 3
- progress bar error HOT 4
- JLabel with rounded border corners and background HOT 1
- Text Modifies System Font Size Even When Font Size Specified
- feature: Table.selectionArc
- The effect of local testing is not consistent with that of packaging with gradle.
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 flatlaf.