Thread: Positioning behaviour
-
November 12th, 2022, 11:10 #1
Positioning behaviour
I've some problem with positioning. I noticed that using a positioning relative to another object causes the attribution of one of the dimensions (height or width) of the control that is going to be positioned. For example, if I indicate below, the width of the control corresponds to that of the control above. So I tried the belowleft, which seems to me not to behave like that. It's true?
However when I try to use it to stack checkboxes (button_checkbox defined in CoreRPG) the control is simply not visible, I can't figure out where he put it.
-
November 12th, 2022, 15:03 #2
-
November 13th, 2022, 07:40 #3
-
November 17th, 2022, 23:08 #4
-
November 17th, 2022, 23:17 #5
Regarding anchoring - referring to the diagram in the link @damned provided we can see that belowleft inherits the top and left positioning but it doesn't inherit width or height, so if the base template doesn't have width or height specifically defined you'll need to include it in the definitions of controls based on the template if the anchoring used doesn't inherit width or height.
Last edited by Trenloe; November 17th, 2022 at 23:20.
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks