Re: RFR: 8015854: [macosx] JButton's HTML ImageView adding unwanted padding [v6]

2022-02-28 Thread DamonGuy
On Mon, 28 Feb 2022 21:56:44 GMT, Alexey Ivanov wrote: >> DamonGuy has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Updated exception propagation. Added button location to EDT. Updated >> testImageCentering for variable arguments. Moved

Re: RFR: 8015854: [macosx] JButton's HTML ImageView adding unwanted padding [v6]

2022-02-28 Thread Alexey Ivanov
On Mon, 28 Feb 2022 17:28:45 GMT, DamonGuy wrote: >> Html does not fit in JButton at certain sizes because default Insets cause >> html to be displayed off-center. >> >> Changes made to SwingUtilities.java layoutCompoundLabelImpl method to enable >> clipping if html does not fit, similar to r

Re: RFR: 8015854: [macosx] JButton's HTML ImageView adding unwanted padding [v6]

2022-02-28 Thread DamonGuy
> Html does not fit in JButton at certain sizes because default Insets cause > html to be displayed off-center. > > Changes made to SwingUtilities.java layoutCompoundLabelImpl method to enable > clipping if html does not fit, similar to regular text. AquaButtonUI.java now > detects when html d