Results 1 to 3 of 3

Thread: 6.5.1Classic:Textfield takes up more than specified height if there is a long label

  1. #1
    Sencha User
    Join Date
    Nov 2016
    Posts
    77
    Answers
    2

    Default 6.5.1Classic:Textfield takes up more than specified height if there is a long label

    Hi,

    If a text field has a very long label and there is some height specified to it, then the text field input is occupying more than specified height.

    screenshot.PNG

    Here is the fiddle.
    https://fiddle.sencha.com/#view/editor&fiddle/25uh

    If height is not specified, this problem won't happen (the field input occupies the min height)

    Also, I came to know that the reason for this is that the parent divs surrounding the field input have 100% heights, so, if the computed height is more(due to label), then the field input's height too would show up increased.
    If you change the heights to inherit instead, the problem won't happen(Uncomment the code in app.cs in the fiddle to see this)

    So, is this as expected? or does this sound like a bug?

    Thank you,
    Nagarjuna

  2. #2
    Sencha Premium Member tjstuart's Avatar
    Join Date
    May 2007
    Location
    Sydney, Australia
    Posts
    457
    Answers
    4

  3. #3
    Sencha User
    Join Date
    Nov 2016
    Posts
    77
    Answers
    2

    Default

    I am aware of that too, yes sencha appears to have fixed similar problem in 6.5.1, but that appears to apply only when a height is not specified for the textfield. In my case, heights are specified.

    If you specify height for textfields in the fiddle mentioned in post https://www.sencha.com/forum/showthr...d-in-Chrome-56, you'll see the problem mentioned in this post.

Similar Threads

  1. Replies: 3
    Last Post: 23 Apr 2017, 11:49 PM
  2. Field in Firefox Height Grows with Label Height
    By StevenMilneffdc in forum Ext 5: Bugs
    Replies: 1
    Last Post: 10 Dec 2015, 11:35 AM
  3. [FIXED] firefox, multi-line label and field height
    By daly in forum Ext 5: Bugs
    Replies: 1
    Last Post: 6 Jun 2014, 4:52 AM
  4. Replies: 2
    Last Post: 20 Nov 2013, 10:25 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •