gif -> png
|
@ -108,7 +108,7 @@ of the container unless the container has padding specified.
|
|||
|
||||
The **container.PlaceWidget** option places the provided widget into the container.
|
||||
|
||||
[[/images/container-api/placed_button.gif|placed_button]]
|
||||
[[/images/container-api/placed_button.png|placed_button]]
|
||||
|
||||
The following code places a button widget inside a container as shown above:
|
||||
|
||||
|
@ -141,7 +141,7 @@ if err != nil {
|
|||
The following options can be used to align a widget within the container both
|
||||
horizontally and vertically.
|
||||
|
||||
[[/images/container-api/aligned_button.gif|aligned_button]]
|
||||
[[/images/container-api/aligned_button.png|aligned_button]]
|
||||
|
||||
The following code aligns the button widget into the top right corner as shown above:
|
||||
|
||||
|
@ -187,7 +187,7 @@ This section describes container options that specify its style or look.
|
|||
|
||||
Containers don't have any borders by default, use one of the following options to instruct Termdash to draw a border around a container.
|
||||
|
||||
[[/images/container-api/border_styles.gif|border_styles]]
|
||||
[[/images/container-api/border_styles.png|border_styles]]
|
||||
|
||||
The following code shows two containers with different border styles as shown above. The right container has the keyboard focus so its border is highlighted.
|
||||
|
||||
|
@ -230,7 +230,7 @@ The **container.FocusedColor** option sets the color of the border when the cont
|
|||
|
||||
Containers that have a border can also have a text title displayed in the border. The title isn't visible on a container without border.
|
||||
|
||||
[[/images/container-api/border_title.gif|border_title]]
|
||||
[[/images/container-api/border_title.png|border_title]]
|
||||
|
||||
The following code shows a container with a title in the border that is aligned to the right.
|
||||
|
||||
|
|
Before Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 93 KiB |
Before Width: | Height: | Size: 12 KiB |
After Width: | Height: | Size: 157 KiB |
Before Width: | Height: | Size: 14 KiB |
After Width: | Height: | Size: 158 KiB |
Before Width: | Height: | Size: 13 KiB |
After Width: | Height: | Size: 94 KiB |