Jump to content

Field width is expanded to 100% but i don't wont this...?


Recommended Posts

Posted

Simple question on this topic is there a easy chance to get the field width setting be as choosed in the field settings?

it seems that it would overwritten if there was empty space in a row?

example with tree textfields i use on a columns template for a pagetable field:

using actual ProcessWire 2.6.7 dev and three normal textfields without any magic set to 33% | 34% | 33

The user should not be confused by switching width's on different setting of number of columns.

some screens added (lang is german but i think it's all clear)

First actual state:

post-2327-0-32668500-1436893258_thumb.jp

Second like it should work:

post-2327-0-19225700-1436893271_thumb.jp

Third why it should work as mentioned in sceen 2

post-2327-0-48835900-1436893281_thumb.jp

Best regards mr-fan

Posted

Ok solved - with a simple hack and the great AdminCustomFiles modules...

ProcessPageEdit.css

#wrap_Inputfield_text2 {width: 34%!important;}

is there a reason why the data-original-width is overwritten with a inline style attribute with "filling" the width to 100%?

regards mr-fan

Posted

I think it's more suitable as default behavior to expand. It's looking more cohesive and sometimes one even doesn't want the user to notice the missing field. But I like the behavior more for two-column views. For three I'd rather have both columns expand the same size instead of only the second one expanding.

  • Like 2

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...