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

Textarea & Progressbar components size #36

Closed
benavern opened this issue Sep 17, 2018 · 4 comments
Closed

Textarea & Progressbar components size #36

benavern opened this issue Sep 17, 2018 · 4 comments

Comments

@benavern
Copy link

Hi,
I've been trying to use vuido for a fun little project and have issues with those 2 components sizes.
You can see it here: https://github.com/benavern/coffee-break

As you can see on screenshots or if you try to run it (I tried on linux & windows) Textarea & Progressbar components are very little. I didn't see anything in the documentation that could help me with this. Are there some attributes or anything else that is not documented that is meant to change the default size?

Thanks in advance!
Benjamin

@mimecorg
Copy link
Owner

mimecorg commented Sep 18, 2018

You can add the "stretchy" attribute to the TextArea - it will be stretched to all available height in the window. The ProgressBar has a fixed height, there is currently no way to increase it.

@benavern
Copy link
Author

OK, I maybe missunderstood something but, I can't figure out how to make the textarea bigger.
Could you give a try to my project (that is very simple at the moment) & maybe give me some more advice to fix it ?

There should be some more examples or guidelines on how to create a nice looking software, or how to architecture it (the ui I meen)

Thanks!

@mimecorg
Copy link
Owner

In your project, you have to add the "stretchy" attribute to the Box and Group elements in the Admin page, because these elements are nested inside box layouts:

  <Box stretchy>
    <Group title="Coffee Break Settings" stretchy margined>

Also add the "stretchy" attribute to the TextArea:

<TextArea label="Your Reason" stretchy v-model="settings.reason" />

@benavern
Copy link
Author

Yeah! Thank you! that did the trick. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants