This topic is locked

Textbox height not responding to large text

5/4/2020 7:03:28 PM
PHPRunner General questions
L
lewis author

I may be doing this wrong but can't find anywhere else to change the setting.
On an edit page, I assume the textbox height will adjust to accommodate the text size within it. Unfortunately, when I set a larger text size (using the edit field attributes on the Designer page) it clips the top and bottom of the letters inside. The generated edit page has the larger font but the textbox remains the same size.
In the Designer page, the label and edit field are separate. There is an edit field attribute for width and text size, but not height.

With custom CSS I tried setting "height: 25px;" and then "height: auto;" but neither had any effect. I also tried setting max-height in case it was inheriting that from another element and preventing the height setting, but still no change. I even tried changing the cell height to be very large in case that was restricting the textbox.
Is there a simple step I am missing? A new project and database does the same.

PHPRunner 10.4, Build 35002, x64
Thanks.
Maybe the edit fields have the height attribute added in a future release?

Admin 5/4/2020

It is not enough info to answer this question, need to see the issue in the actual project.
If you prefer to figure this out on your own see CSS examples here:

https://xlinesoft.com/phprunner/docs/customizing_styles_examples.htm
Also, there are two videos that explain the CSS topic in-depth:

https://www.youtube.com/watch?v=_DmMYRCUtU8

https://www.youtube.com/watch?v=yFnD38oslIc

L
lewis author 5/5/2020

I will look through those. Perhaps the first question is: Should the textbox height automatically adjust for the font size within it? This does not appear to happen.

Admin 5/5/2020

Try something like this:

font-size: 30px;

height: auto;