Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Request] Resizable Text Areas #837

Open
BokuNC opened this issue Apr 7, 2024 · 4 comments
Open

[Request] Resizable Text Areas #837

BokuNC opened this issue Apr 7, 2024 · 4 comments
Labels
Milestone

Comments

@BokuNC
Copy link

BokuNC commented Apr 7, 2024

Is your feature request related to a problem? Please describe.
Currently, the text areas arent resizable or sensitive to the amount of content it holds, it creates some very narrow windows to edit larger blocks of informations for items, backgrounds and other things.

Describe the solution you'd like
It would be very helpful for preparation, reading and clarity if the text boxes were resizable.

@JohanFalt JohanFalt added the GUI label Apr 13, 2024
@JohanFalt JohanFalt added this to the Unplanned milestone Apr 13, 2024
@Kad-Caiel
Copy link

I believe this has been discussed in the past, but yes, it would be great.
For example, manage a table in System area to create a simple Number of successes/Effect paragraph is a bit annoying, since you have to do it only with only a few lines in height.

@BokuNC
Copy link
Author

BokuNC commented Apr 14, 2024

Exacty, even copying and pasting text into them is bothersome, i don't know if its something CSS only or if its HTML based, i may look into it deeply sometime.

@BokuNC
Copy link
Author

BokuNC commented Apr 14, 2024

Yeah, its HTML based. As it is, for the editor side, a "resize: vertical;" in front of the "height: 150px;" is enough to let you, at least, drag its size up to where you find it comfortable.
When closed, we could use some automation/content-aware, so it just envelops whatever is there.

I'm not even trying to change how the sheet work, just the item sheets.

I may try some bigger changes and, if it works, do a pull request later.

@BokuNC
Copy link
Author

BokuNC commented Apr 14, 2024

Yeah, you can force a CSS rule to ignore the html defined ones. The solution i found is adding through CustomCSS:
.editor { resize: vertical; }
.tox { height: 100% !important; }

For now, its enough to enlarge the boxes while editing.

For the front side of things...

.wod .textarea{ height: auto !important; }

I think it could work on editor.css

@JohanFalt JohanFalt added the Evaluating Will see what this will take in effort to do label Apr 29, 2024
@JohanFalt JohanFalt modified the milestones: Unplanned, v4.0 Apr 29, 2024
@JohanFalt JohanFalt removed the Evaluating Will see what this will take in effort to do label May 25, 2024
@JohanFalt JohanFalt modified the milestones: v4.0, v4.1 Jun 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants