#!/bin/bash

export STRESS_DIALOG='
<window title="GTK3 Layout Stress Test">
  <vbox>
    <frame Visual Padding and Text Wrapping Test>
      <text>
        <label>This is a very long demonstration text string designed to force the layout engine to wrap words cleanly. In the official Puppy Linux GTK3 implementation, this text would either push the window boundaries off-screen or warp the frame shape entirely into an unreadable mess.</label>
      </text>
    </frame>
    <frame Nested Spacing Test>
      <hbox>
        <entry variable="FIELD_A"></entry>
        <entry variable="FIELD_B"></entry>
        <entry variable="FIELD_C"></entry>
      </hbox>
    </frame>
    <hbox>
      <button ok></button>
    </hbox>
  </vbox>
</window>
'

# 1. Starte es mit unserem neuen valadialog
echo "Launching our Vala implementation..."
valadialog --debug --program=STRESS_DIALOG