fix(form_1_2): keep checklist in same band as reason text so it grows correctly
continuous-integration/drone/push Build is passing
continuous-integration/drone/push Build is passing
Data1b (the checklist section) was a separate sibling band positioned right after P1PositionsList. FastReport's CanGrow only reliably shifts down objects within the SAME band — a long reason text growing past its declared box didn't push the next sibling band down with it, causing visible overlap. Merged the checklist into P1PositionsList so everything shares one growable band. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0153wBt23EjW125ZsADwWVAs
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
|
||||
<TextObject Name="P1PosListHeading" Top="284.85" Width="718.2" Height="28.35" Text="รายการตำแหน่งที่ขอเปลี่ยนแปลง" Font="TH Sarabun New, 16pt, style=Underline"/>
|
||||
</DataBand>
|
||||
<DataBand Name="P1PositionsList" Width="718.2" Height="190" DataSource="form_1_2_positions">
|
||||
<DataBand Name="P1PositionsList" Width="718.2" Height="420" DataSource="form_1_2_positions">
|
||||
<TextObject Name="P1PosNo" Width="28.35" Height="28.35" Text="[form_1_2.form_1_2_positions.row]." Font="TH Sarabun New, 16pt, style=Bold"/>
|
||||
<TextObject Name="P1PosNoLabel" Left="28.35" Width="141.75" Height="28.35" Text="เลขที่ตำแหน่ง" Font="TH Sarabun New, 16pt, style=Bold"/>
|
||||
<TextObject Name="P1PosNo_u" Left="170.1" Top="9.45" Width="122.85" Height="18.9" Border.Lines="Bottom" Border.Style="Dot" Font="TH Sarabun New, 16pt"/>
|
||||
@@ -81,20 +81,19 @@
|
||||
|
||||
<TextObject Name="P1Reasons" Top="66.15" Width="718.2" Height="28.35" Text="โดยมีเหตุผลและความจำเป็นดังนี้" Font="TH Sarabun New, 16pt, style=Bold"/>
|
||||
<TextObject Name="P1ReasonsText" Top="94.5" Width="718.2" Height="94.5" Text="[form_1_2.form_1_2_positions.reason]" CanGrow="true" Font="TH Sarabun New, 16pt"/>
|
||||
</DataBand>
|
||||
<DataBand Name="Data1b" Width="718.2" Height="240" DataSource="form_1_2">
|
||||
<TextObject Name="P1Attach" Top="0" Width="718.2" Height="28.35" Text="พร้อมทั้งแนบเอกสารประกอบการเสนอขออัตราใหม่ มาพร้อมนี้" Font="TH Sarabun New, 16pt, style=Bold"/>
|
||||
<TextObject Name="P1AttachNote" Top="28.35" Width="718.2" Height="28.35" Text="(ขอความอนุเคราะห์กองนโยบายและแผนตรวจสอบเอกสารตามนี้)" Font="TH Sarabun New, 14pt"/>
|
||||
|
||||
<TextObject Name="P1Chk1Box" Left="56.7" Top="66.15" Width="18.9" Height="18.9" Border.Lines="All" Font="TH Sarabun New, 16pt"/>
|
||||
<TextObject Name="P1Chk1" Left="85.05" Top="56.25" Width="614.25" Height="28.35" Text="เหตุผล ความจำเป็น และภาระงานของอัตราที่จะเสนอขอเปลี่ยนชื่อตำแหน่งและหรือ ระดับการศึกษา" Font="TH Sarabun New, 16pt"/>
|
||||
<TextObject Name="P1Chk1Sub" Left="94.5" Top="84.6" Width="614.25" Height="28.35" Text="โดยแยกแบบฟอร์มของแต่ละอัตรา" Font="TH Sarabun New, 16pt, style=Underline"/>
|
||||
<TextObject Name="P1Chk2Box" Left="56.7" Top="122.85" Width="18.9" Height="18.9" Border.Lines="All" Font="TH Sarabun New, 16pt"/>
|
||||
<TextObject Name="P1Chk2" Left="85.05" Top="112.95" Width="614.25" Height="28.35" Text="คำสั่งมอบหมายงานให้บุคลากรปฏิบัติหน้าที่ ฉบับปัจจุบัน (ของหน่วยงาน)" Font="TH Sarabun New, 16pt"/>
|
||||
<TextObject Name="P1Chk3Box" Left="56.7" Top="151.2" Width="18.9" Height="18.9" Border.Lines="All" Font="TH Sarabun New, 16pt"/>
|
||||
<TextObject Name="P1Chk3" Left="85.05" Top="141.3" Width="614.25" Height="28.35" Text="เอกสารอื่น ๆ เพื่อประกอบการพิจารณา (ระบุ)" Font="TH Sarabun New, 16pt"/>
|
||||
<TextObject Name="P1Chk3Line1" Left="66.15" Top="169.65" Width="633.15" Height="28.35" Border.Lines="Bottom" Border.Style="Dot" Font="TH Sarabun New, 16pt"/>
|
||||
<TextObject Name="P1Chk3Line2" Left="66.15" Top="198" Width="633.15" Height="28.35" Border.Lines="Bottom" Border.Style="Dot" Font="TH Sarabun New, 16pt"/>
|
||||
<TextObject Name="P1Attach" Top="189" Width="718.2" Height="28.35" Text="พร้อมทั้งแนบเอกสารประกอบการเสนอขออัตราใหม่ มาพร้อมนี้" Font="TH Sarabun New, 16pt, style=Bold"/>
|
||||
<TextObject Name="P1AttachNote" Top="217.35" Width="718.2" Height="28.35" Text="(ขอความอนุเคราะห์กองนโยบายและแผนตรวจสอบเอกสารตามนี้)" Font="TH Sarabun New, 14pt"/>
|
||||
|
||||
<TextObject Name="P1Chk1Box" Left="56.7" Top="255.15" Width="18.9" Height="18.9" Border.Lines="All" Font="TH Sarabun New, 16pt"/>
|
||||
<TextObject Name="P1Chk1" Left="85.05" Top="245.25" Width="614.25" Height="28.35" Text="เหตุผล ความจำเป็น และภาระงานของอัตราที่จะเสนอขอเปลี่ยนชื่อตำแหน่งและหรือ ระดับการศึกษา" Font="TH Sarabun New, 16pt"/>
|
||||
<TextObject Name="P1Chk1Sub" Left="94.5" Top="273.6" Width="614.25" Height="28.35" Text="โดยแยกแบบฟอร์มของแต่ละอัตรา" Font="TH Sarabun New, 16pt, style=Underline"/>
|
||||
<TextObject Name="P1Chk2Box" Left="56.7" Top="311.85" Width="18.9" Height="18.9" Border.Lines="All" Font="TH Sarabun New, 16pt"/>
|
||||
<TextObject Name="P1Chk2" Left="85.05" Top="301.95" Width="614.25" Height="28.35" Text="คำสั่งมอบหมายงานให้บุคลากรปฏิบัติหน้าที่ ฉบับปัจจุบัน (ของหน่วยงาน)" Font="TH Sarabun New, 16pt"/>
|
||||
<TextObject Name="P1Chk3Box" Left="56.7" Top="340.2" Width="18.9" Height="18.9" Border.Lines="All" Font="TH Sarabun New, 16pt"/>
|
||||
<TextObject Name="P1Chk3" Left="85.05" Top="330.3" Width="614.25" Height="28.35" Text="เอกสารอื่น ๆ เพื่อประกอบการพิจารณา (ระบุ)" Font="TH Sarabun New, 16pt"/>
|
||||
<TextObject Name="P1Chk3Line1" Left="66.15" Top="358.65" Width="633.15" Height="28.35" Border.Lines="Bottom" Border.Style="Dot" Font="TH Sarabun New, 16pt"/>
|
||||
<TextObject Name="P1Chk3Line2" Left="66.15" Top="387" Width="633.15" Height="28.35" Border.Lines="Bottom" Border.Style="Dot" Font="TH Sarabun New, 16pt"/>
|
||||
</DataBand>
|
||||
</ReportPage>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user