# \<\< Size of the entry area \>\>

**URL:** <https://discourse.jabref.org/t/size-of-the-entry-area/4276>\
**Category:** Help\
**Tags:** ui, entry-editor\
**Created:** [April 17, 2024, 8:31pm UTC](https://discourse.jabref.org/t/size-of-the-entry-area/4276 "2024-04-17T20:31:01Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![icamps](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/icamps/32/1733_2.png) [@icamps](https://discourse.jabref.org/u/icamps)\
**Post date:** [April 17, 2024, 8:31pm UTC](https://discourse.jabref.org/t/size-of-the-entry-area/4276/1 "2024-04-17T20:31:01Z")

</div>

Hello.

I selected some fields (journal, title, authors, doi, pages, volume, year) as the main ones to be added to an `article` entry.  
When I create a new one (or modifying an existed one), the fields are too big, occupying all the space and I always have to scroll down to reach the other fields. This happens independently of the monitor size/resolution: they always occupied all the space available, forcing me to scroll up/down.

Is there a way to force/fix this in order the fields fits the space windows?

Regards,

Camps

---

<div class="post-metadata">

**Author:** ![ThiloteE](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/thilotee/32/1008_2.png) [@ThiloteE](https://discourse.jabref.org/u/ThiloteE)\
**Post date:** [April 22, 2024, 8:45pm UTC](https://discourse.jabref.org/t/size-of-the-entry-area/4276/2 "2024-04-22T20:45:12Z")

</div>

Sorry for the late response. Could you please add a screenshot?

---

<div class="post-metadata">

**Author:** ![icamps](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/icamps/32/1733_2.png) [@icamps](https://discourse.jabref.org/u/icamps)\
**Post date:** [April 23, 2024, 7:19pm UTC](https://discourse.jabref.org/t/size-of-the-entry-area/4276/3 "2024-04-23T19:19:38Z")

</div>

Hi @ThiloteE Here are some pics. I was wondering if the area could fit into the given space, instead of occupying all the available one.

 ![Screenshot from 2024-04-23 16-16-14](https://canada1.discourse-cdn.com/flex030/uploads/jabref/original/2X/e/eb3ea5380fc170220119fde88c635c93019417b2.png)  
 ![Screenshot from 2024-04-23 16-16-05](https://canada1.discourse-cdn.com/flex030/uploads/jabref/original/2X/7/78be905c0faaf68e9f05413405b40b9bb28ab298.png)  
 ![Screenshot from 2024-04-23 16-15-53](https://canada1.discourse-cdn.com/flex030/uploads/jabref/original/2X/7/703feceecfb9e40f287075a443cfce6bacd7d130.png)

---

<div class="post-metadata">

**Author:** ![wolfkil](https://avatars.discourse-cdn.com/v4/letter/w/eada6e/32.png) [@wolfkil](https://discourse.jabref.org/u/wolfkil)\
**Post date:** [April 24, 2024, 3:10pm UTC](https://discourse.jabref.org/t/size-of-the-entry-area/4276/4 "2024-04-24T15:10:34Z")

</div>

I am also wondering if there might be a work around for this. However, due to those two threads it seems its somehow out of reach:  
[Entry Editor Fields too high](https://discourse.jabref.org/t/entry-editor-fields-too-high/4033/2)  
[allow changing height of entry fields](https://discourse.jabref.org/t/please-allow-changing-height-of-entry-fields-in-reference-entry-editor/81)

---

<div class="post-metadata">

**Author:** ![Siedlerchr](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/siedlerchr/32/216_2.png) [@Siedlerchr](https://discourse.jabref.org/u/Siedlerchr)\
**Post date:** [April 25, 2024, 10:50am UTC](https://discourse.jabref.org/t/size-of-the-entry-area/4276/5 "2024-04-25T10:50:17Z")

</div>

Hi,

you could try to change it via CSS by using a custom theme [Custom themes | v5 | JabRef](https://docs.jabref.org/advanced/custom-themes)

---

<div class="post-metadata">

**Author:** ![MacGyver](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/macgyver/32/845_2.png) [@MacGyver](https://discourse.jabref.org/u/MacGyver)\
**Post date:** [May 7, 2024, 10:01pm UTC](https://discourse.jabref.org/t/size-of-the-entry-area/4276/6 "2024-05-07T22:01:27Z")

</div>

Hi  
Just to add to the discussion (updating as well a previous post [Entry Editor Fields too high](https://discourse.jabref.org/t/entry-editor-fields-too-high/4033/2)), in my case (Win10, Jabref 5.14) this behavior (too large fields with a lot of empty space) occurs only in the “Article” entry/“Required” fields. All other entry/field types can be shrunk down much more. This is strange…

---

<div class="post-metadata">

**Author:** ![ThiloteE](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/thilotee/32/1008_2.png) [@ThiloteE](https://discourse.jabref.org/u/ThiloteE)\
**Post date:** [May 14, 2024, 8:21pm UTC](https://discourse.jabref.org/t/size-of-the-entry-area/4276/7 "2024-05-14T20:21:29Z")

</div>

There seems to be a discussion about a similar topic going on over there: [Line wrap in entry table](https://discourse.jabref.org/t/line-wrap-in-entry-table/4009). Maybe line wrapping could be of help here? Otherwise CSS or changing some Javafx code.

---

<div class="post-metadata">

**Author:** ![icamps](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/icamps/32/1733_2.png) [@icamps](https://discourse.jabref.org/u/icamps)\
**Post date:** [May 15, 2024, 12:46pm UTC](https://discourse.jabref.org/t/size-of-the-entry-area/4276/8 "2024-05-15T12:46:34Z")

</div>

The solution below works for the Table View.

```auto
.table-view .cell{
    -fx-cell-size: 5.6em;
    -fx-wrap-text: true
}

```

Where should I add it in order to modify all the bib entries cells? I tried separately (for title, year, journal) and nothing changed.

---

<div class="post-metadata">

**Author:** ![ryan-carpenter](https://avatars.discourse-cdn.com/v4/letter/r/b487fb/32.png) [@ryan-carpenter](https://discourse.jabref.org/u/ryan-carpenter)\
**Post date:** [May 16, 2024, 1:46am UTC](https://discourse.jabref.org/t/size-of-the-entry-area/4276/9 "2024-05-16T01:46:22Z")

</div>

The [Oracle JavaFX CSS reference](https://openjfx.io/javadoc/14/javafx.graphics/javafx/scene/doc-files/cssref.html) might help pinpoint the property, and the `text-area` class looks like it could be a possibility (only a guess).

![image](https://canada1.discourse-cdn.com/flex030/uploads/jabref/original/2X/9/94be62afa9cb88b85072accb37e19dcb0ca8845f.png)

More potentially useful resources

- [text class](https://openjfx.io/javadoc/14/javafx.graphics/javafx/scene/doc-files/cssref.html#text)
- [text-area class](https://openjfx.io/javadoc/14/javafx.graphics/javafx/scene/doc-files/cssref.html#text-area)
- [text-input-control class](https://openjfx.io/javadoc/14/javafx.graphics/javafx/scene/doc-files/cssref.html#textinputcontrol)
- [text-field class](https://openjfx.io/javadoc/14/javafx.graphics/javafx/scene/doc-files/cssref.html#textfield)
- [JabRef Base.css in Github repo](https://github.com/JabRef/jabref/blob/main/src/main/java/org/jabref/gui/Base.css)
- [JabRef fieldeditors in Github repo](https://github.com/JabRef/jabref/tree/main/src/main/java/org/jabref/gui/fieldeditors)

---

<div class="post-metadata">

**Author:** ![calixtus](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.jabref.org/calixtus/32/579_2.png) [@calixtus](https://discourse.jabref.org/u/calixtus)\
**Post date:** [May 16, 2024, 8:08pm UTC](https://discourse.jabref.org/t/size-of-the-entry-area/4276/10 "2024-05-16T20:08:39Z")

</div>

The height of the fields in the entry editor required tab is determined in relation to all the other fields by the weight setting See [jabref/src/main/java/org/jabref/gui/entryeditor/FieldsEditorTab.java at 2d179422ee7c55b01a02218e50d131d025ad62aa · JabRef/jabref · GitHub](https://github.com/JabRef/jabref/blob/2d179422ee7c55b01a02218e50d131d025ad62aa/src/main/java/org/jabref/gui/entryeditor/FieldsEditorTab.java#L172)

The only option with the current implementation of the entry editor i see would be to use the compressed layout here like in the other tabs…
