GtkFramePeer.java (setMenuBar): Fix spacing.
2004-01-26 Kim Ho <kho@redhat.com> * gnu/java/awt/peer/gtk/GtkFramePeer.java (setMenuBar): Fix spacing. From-SVN: r76730
This commit is contained in:
parent
57e1391773
commit
f256503705
2 changed files with 6 additions and 1 deletions
|
@ -88,7 +88,7 @@ public class GtkFramePeer extends GtkWindowPeer
|
|||
setMenuBarPeer(menuBar);
|
||||
menuBarHeight = getMenuBarHeight (menuBar);
|
||||
if (oldHeight != menuBarHeight)
|
||||
moveLayout(oldHeight-menuBarHeight);
|
||||
moveLayout(oldHeight - menuBarHeight);
|
||||
insets.top += menuBarHeight;
|
||||
awtComponent.doLayout();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue