How to Adjust Alignment

Discussion in 'Tally Developer' started by auruem, Apr 27, 2023.

    
Tags:
  1. auruem

    auruem Member


    [#Part : expinv leftsign]
    Add : Parts : Before : EXPINV Words : Party Prevbalance

    Issue.jpg
     


  2. auruem

    auruem Member


    Dear Experts , @Amit Kamdar , Please explain the differace of both codes (Which is correct and / or better and why ? ).

    and what is the link as we are modifying something in bottom and it effects in upper part.

    why gap is created and why the size is different in two different codes

    [#Part : Vch GST Analysis]
    Option : Vch GST Analysis GST : @@Isgstonandappl

    [!Part : Vch GST Analysis GST]
    Add : Part : Vch Party Prevbalance

    [Part : Party Prevbalance]

    Issue.jpg
     


  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    You need to understand the behaviour of attributes like Parts, Line etc .... Default alignment of PART is Vertical and not Horizontal.

    In image above, there is code defined as under :::
    Part : PartmainTop, PartmainMiddle, PartMainBottom
    ----- PartmainTop under which there is PartMainLeft, PartMainRight and so on............
    Similarly for other like middle and bottommight have been defined.

    Now, depending on where you are adding your PART, the other Part will leave a Gap, as it tries to accomodate the new PART.
    Alternative, you can refer to the TOP Part and give a defined width, so it does not leave a gap.

    The BEST way is to add a LINE or find the appropriate Line and add a FIELD.
     


Share This Page