mirror of git://gcc.gnu.org/git/gcc.git
2005-04-19 Roman Kennke <roman@kennke.org>
* javax/swing/plaf/basic/BasicMenuUI.java (getMaximumSize): Now returns preferredSize because JMenu should never be bigger than that. * javax/swing/JRootPane (RootLayout.layoutContainer): Make JMenuBars take the whole width. 2005-04-19 Roman Kennke <roman@kennke.org> * javax/swing/JRootPane.java: Fixed various tabs to be spaces. (RootLayout.layoutContainer): Made menubar left aligned. From-SVN: r98386
This commit is contained in:
parent
48918616ef
commit
6f5d653386
|
@ -1,3 +1,17 @@
|
|||
2005-04-19 Roman Kennke <roman@kennke.org>
|
||||
|
||||
* javax/swing/plaf/basic/BasicMenuUI.java
|
||||
(getMaximumSize): Now returns preferredSize because JMenu should
|
||||
never be bigger than that.
|
||||
* javax/swing/JRootPane
|
||||
(RootLayout.layoutContainer): Make JMenuBars take the whole width.
|
||||
|
||||
2005-04-19 Roman Kennke <roman@kennke.org>
|
||||
|
||||
* javax/swing/JRootPane.java:
|
||||
Fixed various tabs to be spaces.
|
||||
(RootLayout.layoutContainer): Made menubar left aligned.
|
||||
|
||||
2005-04-19 Roman Kennke <roman@ontographics.com>
|
||||
|
||||
* javax/swing/JList.java
|
||||
|
|
|
@ -179,7 +179,7 @@ public class BasicMenuUI extends BasicMenuItemUI
|
|||
*/
|
||||
public Dimension getMaximumSize(JComponent c)
|
||||
{
|
||||
return null;
|
||||
return c.getPreferredSize();
|
||||
}
|
||||
|
||||
protected String getPropertyPrefix()
|
||||
|
|
Loading…
Reference in New Issue