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.
Summary: | Three dots in customizer button should be centered | ||
---|---|---|---|
Product: | platform | Reporter: | _ tboudreau <tboudreau> |
Component: | Explorer | Assignee: | _ tboudreau <tboudreau> |
Status: | RESOLVED FIXED | ||
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
Implemented. Note that the buttons can only be centered if the button width is an odd number. I see..looks, that spaces among black dots are more wide then before. Is it possible to have design which is in following appendix? Created attachment 10442 [details]
look of 3dots button in the PS
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 number. |