[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: Little MetalBorders fixlet
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: Little MetalBorders fixlet |
Date: |
Wed, 28 Sep 2005 14:47:38 +0200 (CEST) |
User-agent: |
SquirrelMail/1.4.4 |
The PopupMenuBorder and MenuItemBorder were implemented slightly wrong.
The white line that looks as if it belongs to the PopupMenuBorder is
actually drawn by the MenuItemBorder. This way, a separator in a JMenu
better 'integrates' with the menu border.
2005-09-28 Roman Kennke <address@hidden>
* javax/swing/plaf/metal/MetalBorders.java
(MenuItemBorder.paintBorder): Fixed painting so that a thin white
line is drawn on the left of unarmed items. Fixed color handling.
(PopupMenuBorder.borderInsets): Fixed insets.
(PopupMenuBorder.paintBorder): Removed left white line. This is
drawn now in the MenuItemBorder.
(ToolBarBorder.paintBorder): Use correct call to new MetalUtils
fillMetalPattern method signature.
/Roman
MetalBorders.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: Little MetalBorders fixlet,
Roman Kennke <=