-
Hi :3 If I set a container's What if I want to put - let's say Noob question, sry :-( |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 5 replies
-
I have CSS like this
and
but the |
Beta Was this translation helpful? Give feedback.
-
I think I'd approach it the same way as the answer over here: #1557 -- if it's the sidebar you want to the right, this sounds like the perfect use for docking. So, given the answer in the other discussion, the change you'd make is: diff --git a/center_with_sidebar.py b/center_with_sidebar.py
index 45be8e7..053535a 100644
--- a/center_with_sidebar.py
+++ b/center_with_sidebar.py
@@ -21,6 +21,7 @@ class SidebarExample( App[ None ] ):
border: round red;
height: auto;
width: auto;
+ dock: right;
}
""" |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for your work and thanks for your reply! (The problem was solved in the reply above; Since I'm not allowed to mark a single reply as the answer, I'll mark this comment as answer) |
Beta Was this translation helpful? Give feedback.
Thanks a lot for your work and thanks for your reply!
(The problem was solved in the reply above; Since I'm not allowed to mark a single reply as the answer, I'll mark this comment as answer)