This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 33247 - TreeTableView does not scale row height appropriately with font size changes
Summary: TreeTableView does not scale row height appropriately with font size changes
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 3.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jiri Rechtacek
URL:
Keywords:
: 33878 (view as bug list)
Depends on:
Blocks: 33246
  Show dependency tree
 
Reported: 2003-04-25 09:58 UTC by _ tboudreau
Modified: 2008-12-23 12:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Here you go (1.56 KB, patch)
2003-04-25 13:49 UTC, _ tboudreau
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2003-04-25 09:58:20 UTC
Some localizations (Chinese in particular) require larger
font sizes.  With larger font sizes, items in tree table
view are cut off.

To reproduce:
Run the ide with -fontsize 18

To fix:
In updateUI(), or if not possible, on the first paint,
measure the height of the font and set the row height to
an appropriate value.
Comment 1 Jiri Rechtacek 2003-04-25 13:27:59 UTC
Tim, thanks for hint. I'll try it ASAP.
Comment 2 _ tboudreau 2003-04-25 13:48:04 UTC
I just implemented this for the new property sheet - I'll
attach a patch using the same code for this in a minute.
Comment 3 _ tboudreau 2003-04-25 13:49:23 UTC
Created attachment 10165 [details]
Here you go
Comment 4 Jiri Rechtacek 2003-04-25 14:39:06 UTC
Tim's patch was applied. Thank you Tim.
Comment 5 Jiri Rechtacek 2003-05-28 20:34:24 UTC
*** Issue 33878 has been marked as a duplicate of this issue. ***
Comment 6 David Simonek 2003-06-13 17:38:00 UTC
Fix merged into release35 branch:
-----
original cvs output was org.openide.explorer.view.TreeTable.java,
version 1.25 -> 1.26
--------
cvs output from merging into release35:
/cvs/openide/src/org/openide/explorer/view/TreeTable.java,v  <-- 
TreeTable.java
new revision: 1.24.2.1; previous revision: 1.24
Comment 7 pzajac 2003-06-18 12:55:21 UTC
verified[030616_1][win2k]