Modify

Opened 3 years ago

Closed 2 years ago

Last modified 23 months ago

#4948 closed defect (fixed)

[patch] Relation Editor: Height of cells are too short to display the current font

Reported by: Johan Dahlin <jdahlin@…> Owned by: team
Priority: normal Component: Core
Version: Keywords:
Cc: osm@…

Description

The height of the cells of the key/value table in the relation editor are not tall enough to be able to display the complete font.

Only happens when actually editing a row.

Seen on Linux/Java6 with the Gtk+ theme.

Attachments (3)

relation-editor.png (47.9 KB) - added by Johan Dahlin <jdahlin@…> 3 years ago.
4948_1.patch (656 bytes) - added by Hojoe <osm@…> 2 years ago.
change the row height to the cell editor preferred height
4948_2.patch (1.1 KB) - added by Hojoe <osm@…> 2 years ago.
Changes the height of the member and selection table, but these tables are not editable. I don't know if we need this.

Download all attachments as: .zip

Change History (7)

Changed 3 years ago by Johan Dahlin <jdahlin@…>

comment:1 Changed 2 years ago by Hojoe <osm@…>

This is a general problem of JTable. The row heigth is 16, independent of the cell renderer / editor font. GTK wasts so much space around the contet that you see this.

Changed 2 years ago by Hojoe <osm@…>

change the row height to the cell editor preferred height

Changed 2 years ago by Hojoe <osm@…>

Changes the height of the member and selection table, but these tables are not editable. I don't know if we need this.

comment:2 Changed 2 years ago by Hojoe <osm@…>

  • Cc osm@… added
  • Summary changed from Relation Editor: Height of cells are too short to display the current font to [patch] Relation Editor: Height of cells are too short to display the current font

comment:3 Changed 2 years ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

In [4120/josm]:

fix #4948 - patch by Hojoe - Relation Editor: Height of cells are too short to display the current font

comment:4 Changed 23 months ago by Hojoe <osm@…>

see also #6547

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.