Skip to main content

Search and Top Navigation

#7026 open bug ()

Opened February 21, 2011 01:01AM UTC

Last modified August 03, 2014 01:03PM UTC

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/

Attachments (0)
Change History (6)

Changed February 21, 2011 01:02AM UTC by randynwalsh comment:1

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

Changed March 21, 2011 04:36PM UTC by scottgonzalez comment:2

component: ui.coreui.resizable

Changed October 11, 2012 02:52PM UTC by scottgonzalez comment:3

milestone: 1.9.02.0.0

Changed October 28, 2012 01:29AM UTC by tj.vantoll comment:4

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/.

Changed August 03, 2014 09:19AM UTC by hamishdickson comment:5

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

Changed August 03, 2014 01:03PM UTC by scottgonzalez comment:6

Replying to [comment:5 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.