Opened 8 years ago

Last modified 5 years ago

#7026 open bug

Resizable: Shrinking size of Input type Button

Reported by: randynwalsh Owned by:
Priority: minor Milestone: 2.0.0
Component: ui.resizable Version: 1.8.7
Keywords: Cc:
Blocked by: Blocking:

Description

Here's an example of resizing 3 Input elements. The first, type="text", works correctly.

The 2nd, type="button", incorrectly resizes the button (it's visable smaller)

The 3rd, is the size of the button without resizing activated. The two button elements should display the same size (25px). (again, standard textboxs works this way)

http://jsfiddle.net/randynwalsh/Ese2k/33/

Change History (6)

comment:1 Changed 8 years ago by randynwalsh

Thank as always for your time and consideration in making jQuery a great libary for everyone.

comment:2 Changed 8 years ago by Scott González

Component: ui.coreui.resizable

comment:3 Changed 7 years ago by Scott González

Milestone: 1.9.02.0.0

comment:4 Changed 7 years ago by tj.vantoll

Status: newopen
Summary: Jquery UI Resizable, shrinking size of Input type ButtonResizable: Shrinking size of Input type Button

Verified that this is still an issue in 1.9.1. Minimal test case - http://jsfiddle.net/tj_vantoll/TUJng/.

comment:5 Changed 5 years ago by hamishdickson

Hi - I've stumbled across this while looking for something to do

After some playing about it looks like the padding is being applied to the actual content size. This is happening in the _proportionallyResize function

Since I've got this far, would it be ok if I kept looking into this? Maybe I can get this issue closed

comment:6 in reply to:  5 Changed 5 years ago by Scott González

Replying to hamishdickson:

Since I've got this far, would it be ok if I kept looking into this? Maybe I can get this issue closed

Of course. We welcome all contributions. Please take a look at our contributing guidelines where we've outlined our full contribution process.

Note: See TracTickets for help on using tickets.