Re: [pgAdmin4][Patch]: Remove default extraclass from the SqlFieldControl - Mailing list pgadmin-hackers

From Surinder Kumar
Subject Re: [pgAdmin4][Patch]: Remove default extraclass from the SqlFieldControl
Date
Msg-id CAM5-9D8hpNUTdYG_xqTLw7YxjynnNLM+niEgOd3gOab0G3Ry6g@mail.gmail.com
Whole thread Raw
In response to [pgAdmin4][Patch]: Remove default extraclass from the SqlFieldControl  (Surinder Kumar <surinder.kumar@enterprisedb.com>)
Responses Re: [pgAdmin4][Patch]: Remove default extraclass from the SqlFieldControl
List pgadmin-hackers
Hi,

More specifically to the issue.
I am using SqlFieldControl in View for Definition Field which takes default height of 300px which is set by Control as default height. but as per dave's suggestion on thread


"The Definition box on the View dialogue should start at a single
line and expand as needed - see the Function dialogue".

If user still need some height for control, It can be specified in extraclasses[] parameter which will apply to the specific field.



On Thu, Apr 28, 2016 at 7:02 PM, Surinder Kumar <surinder.kumar@enterprisedb.com> wrote:
Hi,

The SqlFieldControl is setting default height for textarea, which is not needed.
It should expand as needed as similar in SqlTabControl.

Please find the attached patch, review it.

Thanks
Surinder Kumar

pgadmin-hackers by date:

Previous
From: Harshal Dhumal
Date:
Subject: Re: [PATCH] Tables node (pgAdmin4)
Next
From: Harshal Dhumal
Date:
Subject: Minor issues