Modify

Opened 11 years ago

Closed 10 years ago

Last modified 6 years 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 Milestone:
Component: Core Version:
Keywords: relation font height Cc: Hojoe

Description (last modified by Don-vip)

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@…> 11 years ago.
4948_1.patch (656 bytes) - added by Hojoe 10 years ago.
change the row height to the cell editor preferred height
4948_2.patch (1.1 KB) - added by Hojoe 10 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 (8)

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

Attachment: relation-editor.png added

comment:1 Changed 10 years ago by Hojoe

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 10 years ago by Hojoe

Attachment: 4948_1.patch added

change the row height to the cell editor preferred height

Changed 10 years ago by Hojoe

Attachment: 4948_2.patch added

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 10 years ago by Hojoe

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

comment:3 Changed 10 years ago by stoecker

Resolution: fixed
Status: newclosed

In [4120/josm]:

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

comment:4 Changed 10 years ago by Hojoe

see also #6547

comment:5 Changed 6 years ago by Don-vip

Description: modified (diff)
Keywords: relation font height added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment


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

 
Note: See TracTickets for help on using tickets.