mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
respect vertical layout
This commit is contained in:
@@ -117,8 +117,9 @@ public class DiffPanelImpl implements DiffPanelEx, ContentChangeListener, TwoSid
|
||||
if (enableToolbar) myPanel.resetToolbar();
|
||||
myOwnerWindow = owner;
|
||||
myIsSyncScroll = true;
|
||||
myLeftSide = new DiffSideView("", this, new CustomLineBorder(UIUtil.getBorderColor(), 1, 0, 1, 1));
|
||||
myRightSide = new DiffSideView("", this, new CustomLineBorder(UIUtil.getBorderColor(), 1, 1, 1, 0));
|
||||
final boolean v = !horizontal;
|
||||
myLeftSide = new DiffSideView("", this, new CustomLineBorder(UIUtil.getBorderColor(), 1, 0, v ? 0 : 1, v ? 0 : 1));
|
||||
myRightSide = new DiffSideView("", this, new CustomLineBorder(UIUtil.getBorderColor(), v ? 0 : 1, v ? 0 : 1, 1, 0));
|
||||
myLeftSide.becomeMaster();
|
||||
myDiffUpdater = new Rediffers(this);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user