mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
* Improvements to width:auto HorizontalLayout * Fix HorizontalLayout.get_content_width * Horizontal width auto improvement * Removing some printxz * Update snapshot for horizontal layout width auto dock
24 lines
314 B
CSS
24 lines
314 B
CSS
.widget {
|
|
background: olivedrab;
|
|
width: 10;
|
|
margin: 1;
|
|
}
|
|
|
|
#dock-1 {
|
|
dock: left;
|
|
background: dodgerblue;
|
|
width: 5;
|
|
}
|
|
|
|
#dock-2 {
|
|
dock: left;
|
|
background: mediumvioletred;
|
|
margin: 3;
|
|
width: 20;
|
|
}
|
|
|
|
#horizontal {
|
|
width: auto;
|
|
height: auto;
|
|
background: darkslateblue;
|
|
} |