Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
Bug 33817 - Three dots in customizer button should be centered
Three dots in customizer button should be centered
Status: RESOLVED FIXED
Product: platform
Classification: Unclassified
Component: Explorer
3.x
PC All
: P3 (vote)
: 3.x
Assigned To: _ tboudreau
issues@platform
:
Depends on:
Blocks: 29447
  Show dependency treegraph
 
Reported: 2003-05-22 01:41 UTC by _ tboudreau
Modified: 2008-12-22 23:40 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
:


Attachments
look of 3dots button in the PS (2.78 KB, image/png)
2003-05-26 10:20 UTC, dpavlica
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ tboudreau 2003-05-22 01:41:17 UTC
Probably this will need custom painting code - a
better
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
number.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo