-
Notifications
You must be signed in to change notification settings - Fork 70
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
How to make AtlantaFX smaller / more compact / dense globally? #120
Comments
@hjohn I also had the same problem.
won't help you. You should add atlantafx/styles/src/components/_data.scss Line 364 in 3ffaf3d
|
Thanks, but putting these styles on all controls is not acceptable for me. The whole idea of cascading stylesheets is that you can put styles at any level. |
@hjohn As I know there is no other way to do it. Because it is not javafx feature, it is atlantafx feature, so, by default it is disabled. |
I think the tableview styles should have been defined like:
In SCSS that's probably:
|
I'm testing AtlantaFX as it offers a nice flat alternative to the standard FX theme.
After setting:
I immediately noticed that with AtlantaFX my Window is about 50% larger than with the standard theme. After adjusting the font size in the
.root
node to 12, this has improved somewhat, but it still far larger and roomier than the standard theme. For productivity apps, I like to see a more dense and compact layout, but it doesn't seem to be easily possible to set this globally. I've tried:...but this seems to have no effect anywhere on any controls.
I also couldn't find anything in the sampler application that changes this. There's also a discussion topic that asks a similar question, without an answer: #116
The text was updated successfully, but these errors were encountered: