Skip to content

Commit

Permalink
Fix resizer bar height in geKeyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
gvnnz committed Dec 8, 2023
1 parent 594d7b8 commit 76ac4d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/gui/elems/mainWindow/keyboard/keyboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,9 @@ void geKeyboard::addColumn(int width, ID id)

/* Add a new column + a new resizer bar. */

geResizerBar* bar = new geResizerBar(colx + width, y(), COLUMN_GAP, h(), G_MIN_COLUMN_WIDTH, Direction::HORIZONTAL);
const int viewportH = getViewportBounds().h;

geResizerBar* bar = new geResizerBar(colx + width, y(), COLUMN_GAP, viewportH, G_MIN_COLUMN_WIDTH, Direction::HORIZONTAL);
geColumn* column = new geColumn(colx, y(), width, 0, m_columnId.generate(id), bar);

/* Store the column width in the model when the resizer bar is released. */
Expand Down

0 comments on commit 76ac4d1

Please sign in to comment.