place layout

Overview

Is to specify the coordinates to place

Summary of parameters

parameter effect
anchor The position of the control component in the space allocated by the place, "n", "ne", "e", "se", "s", "sw", "w", "nw", or "center" to locate ( ewsn stands for east, west, south, north, top, north, bottom, south, left, west, right, east), the default value is "nw"
bordermode Specify the border mode ("inside" or "outside"), the default value is "inside"
height Specify the height of the component (pixels)
width Specify the width of the component (pixels)
in_ Put the component in the component specified by this option, the specified component must be the parent component of the component
relheight Specify the height of the component relative to the parent component, the value range is 0.0 ~ 1.0
relwidth Specify the width of the component relative to the parent component, the value range is 0.0 ~ 1.0
relx Specify the horizontal position of the component relative to the parent component, the value range is 0.0 ~ 1.0
rely Specify the vertical position of the component relative to the parent component, the value range is 0.0 ~ 1.0
x Specify the horizontal offset position (pixels) of the component. If the relx option is also specified, the relx option will be implemented first
Y Specify the vertical offset position (pixels) of the component. If the rely option is specified at the same time, the rely option will be implemented first

Guess you like

Origin blog.csdn.net/qq_41985293/article/details/106317583