Can not get the spacing and alignment for the lipgloss elements #997
Unanswered
MayukhSobo
asked this question in
Q&A
Replies: 1 comment
-
@bashbunni Can you please help? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi I am working on a open-source project which will act as ETCD/Redis explorer from terminal. Currently I am working on the TUI homescreen which would be a page with
I have only started to explore the
bubbletea
along withlipgloss
. Here is what I have come up with in the image. But I have few problemsI want to display the help messages little more wider. Currently there seems to be a lot of space left and right. How can I do that?
The space between text-input and the successful banner (the one which is optional above the help) is decided by
MarginBottom(10)
inAddInputFieldStyle
. The problem is that I can't have a fixed hard coded bottom margin. I need to make it dynamic so that the help menu and the banner stick at the bottom. But if I add more bottom margin my Big Banner goes off screen from above. What I essentially want is to give space below the textinput dynamically based on window height without moving the banner from it's place.I am adding the github repo so that you guys can see the code. Please help me implement it better. Thanks.
https://github.com/MayukhSobo/Spectacle
Beta Was this translation helpful? Give feedback.
All reactions