Skip to content

Commit

Permalink
Add menu for gStyle.fFrameBorderMode
Browse files Browse the repository at this point in the history
  • Loading branch information
linev committed Dec 2, 2024
1 parent c4e7aaa commit e57154f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/gui/menu.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -935,6 +935,8 @@ class JSRootMenu {
this.addSizeMenu('Line width', 1, 10, 1, gStyle.fFrameLineWidth, w => { gStyle.fFrameLineWidth = w; });
this.addLineStyleMenu('Line style', gStyle.fFrameLineStyle, st => { gStyle.fFrameLineStyle = st; });
this.addSizeMenu('Border size', 0, 10, 1, gStyle.fFrameBorderSize, sz => { gStyle.fFrameBorderSize = sz; });
this.addSelectMenu('Border mode', ['Down', 'Off', 'Up'], gStyle.fFrameBorderMode + 1, v => { gStyle.fFrameBorderMode = v - 1; });

// fFrameBorderMode: 0,
this.sub('Margins');
this.addSizeMenu('Bottom', 0, 0.5, 0.05, gStyle.fPadBottomMargin, v => { gStyle.fPadBottomMargin = v; });
Expand Down

0 comments on commit e57154f

Please sign in to comment.