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 33817

Summary: Three dots in customizer button should be centered
Product: platform Reporter: _ tboudreau <tboudreau>
Component: ExplorerAssignee: _ tboudreau <tboudreau>
Severity: blocker CC: dsimonek
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on:    
Bug Blocks: 29447    
Attachments: look of 3dots button in the PS

Description _ tboudreau 2003-05-22 01:41:17 UTC
Probably this will need custom painting code - a
idea than text anyway.
Comment 1 _ tboudreau 2003-05-25 00:55:09 UTC
Implemented.  Note that the buttons can only be centered if
the button width is an odd number.
Comment 2 dpavlica 2003-05-26 10:18:19 UTC
I see..looks, that spaces among black dots are more wide then before.
Is it possible to have design which is in following appendix?
Comment 3 dpavlica 2003-05-26 10:20:17 UTC
Created attachment 10442 [details]
look of 3dots button in the PS
Comment 4 _ tboudreau 2003-05-26 10:53:39 UTC
Since it was nearly impossible to get text to be properly centered,
I simply wrote an Icon subclass that paints 3 dots.

If the font size is > 13, it draws them larger, to simulate scaling
with font size.

Note that the size of the button is based on font size (if the user
wants a bigger font, they probably want a bigger button)
- the dots can only be perfectly centered if the button size is an odd