İçereği Atla
Menü
Bu soru işaretlendi
3 Cevaplar
703 Görünümler

Hi All,

I have crated multiple button in CRM module.
but the string of the button is getting break.


see the buttons "Review Compliance" & "Review Risk Management".

"Review Compliance" at button the letter 'p' is getting break at the bottom side.
"Review Risk Management" at button the letter 'g' is getting break at the bottom side.



how can I fix it?

Avatar
Vazgeç
En İyi Yanıt

Hello Vikas Maharana,


You can add the class attribute as follows: class="oe_stat_button py-4".


Please adjust the py- value based on your needs. For example, you can replace it with py-2, py-3, or py-5 to achieve different padding sizes in line with Bootstrap’s attributes.

I Hope this information proves helpful to you.


Thanks & Regards,

Email:  odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

Avatar
Vazgeç
Üretici En İyi Yanıt

I get the solution 

 <button class="oe_stat_button" name="action_review_ddlgnc_template" type="object" icon="fa-search" context="{'field_name':'cell_partner_qstn_ids'}" groups="vendor_management.group_vndr_mgmt_due_dlgnc,vendor_management.group_vndr_mgmt_compliance_head,vendor_management.group_vndr_mgmt_ceo" invisible="state not in ['2','3']">                                

​<div class="o_stat_info">                                    

​<span class="o_stat_text fs-5">Review Cell Partner</span>                                

​</div>                            

</button>  

Inside button create another div with a span tag and your desire font-size.

Avatar
Vazgeç
En İyi Yanıt

Hi,

Include buttons inside div.

<sheet>

                    <div class="oe_button_box" name="button_box">

                             // include your buttons inside this div

                     </div>

</sheet>


Hope it helps

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Haz 25
1078
1
Mar 25
1208
3
Mar 25
1977
2
Şub 25
4696
1
Şub 25
1702