cancel
Showing results for 
Search instead for 
Did you mean: 

HWC Reduce the Editbox width

Former Member
0 Kudos

Hello Experts,

I am looking for some customization in HWC app.

Anyone knows how to reduce the width of Editbox(Standard Control) in HWC application.

Regards,

Abhishek Wajge

Accepted Solutions (1)

Accepted Solutions (1)

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Abhishek,

did you try with advanced tab of edit box?

right click on your edit box,

go to advanced tab

you may try with reducing maximum length.

Regards,

Jitendra

Former Member
0 Kudos

Hi Jitendra,

Yes i already tried that but its not working.

Need to find out some java script code.

Regards,

Abhishek Wajge

Former Member
0 Kudos

Hello Experts,

I got the solution.

do the following changes in custom.js in custombeforenavigateforward method.

if(destScreenKey === 'ScreenName')

{

$('#editboxKeyName').css('width', '10%'); //to reduce the width of editbox
$('#editboxKeyName').css('background', '#FFFFFF'); //To change background color

}

Regards,

Abhishek Wajge

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Abhishek,

any idea how can we reduce the width of a button?

i put one button on a return and want to reduce its width,

i tried with above solution but its not wrking accordingly.

please help.

Regards,

Jitendra

Former Member
0 Kudos

Hi Jitendra,

Can ypu pls start a new discussion.

Will reply thr.

Regards,

Abhsihek Wajge

Jitendra_Kansal
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Abhishek,

please reply to this thread:

http://scn.sap.com/thread/3280477

Regards,

Jitendra

Answers (0)