Skip to content

Add scroll constraints to SQL query text editor - #29

Draft
ASPE-Summa with Copilot wants to merge 2 commits into
masterfrom
copilot/add-new-scroll-feature
Draft

ASPE-Summa with Copilot wants to merge 2 commits into
masterfrom
copilot/add-new-scroll-feature

Conversation

Copilot AI commented Jan 29, 2026

Copy link
Copy Markdown

SQL query text editor grows unbounded, pushing "Valideren" and "Uitvoeren" buttons off-screen for queries exceeding viewport height.

Changes

Added height constraint and auto-scroll to all avalonEdit:TextEditor instances across 11 view files:

<!-- Before -->
<avalonEdit:TextEditor FontSize="20" MinHeight="100">

<!-- After -->
<avalonEdit:TextEditor FontSize="20" MinHeight="100" MaxHeight="250" VerticalScrollBarVisibility="Auto">

Affected views:

  • Puzzles: AdventurerView, StudentView, ButtonView, BattleshipView
  • Select: SelectView, FilterView, JoinView, WildcardView, SortView, GroupView, AggregateView

MaxHeight of 250px allows ~10 lines at FontSize 20 before scrollbar activates.

Original prompt

This section details on the original issue you should resolve

<issue_title>new Scroll feature</issue_title>
<issue_description>als je een te grote query van boven naar beneden maakt krijg je geen scroll optie maar wordt het tekst veld groter en verdwijnt de valideren knop.</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

… disappearance

Co-authored-by: ASPE-Summa <94826098+ASPE-Summa@users.noreply.github.com>
Copilot AI changed the title [WIP] Add scroll feature for large queries Add scroll constraints to SQL query text editor Jan 29, 2026
Copilot AI requested a review from ASPE-Summa January 29, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

new Scroll feature

2 participants