CheckBox spacing at end
CheckBox spacing at end
I have noticed that checkbox.gadgets have extra space at the end of the text. In the image the group right bar is right at the end of the chooser.gadget, but has extra room after the checkbox.gadget text. It's not an error, just an observation that is not consistent with the other gadget types.
Workbench Explorer - A better way to browse drawers
Re: CheckBox spacing at end
Has this been looked at? Hopefully fixed. radiobutton.gadget class does it, as well. Puts extra padding at the end of the text when it shouldn't.
Workbench Explorer - A better way to browse drawers
Re: CheckBox spacing at end
When use LAYOUT_ShrinkWrap to bring the scrollers closer to the texteditor gadget, there is a spacing error. It does not happen when don't use shrink wrap.
Workbench Explorer - A better way to browse drawers
- broadblues
- AmigaOS Core Developer
- Posts: 600
- Joined: Sat Jun 18, 2011 2:40 am
- Location: Portsmouth, UK
- Contact:
Re: CheckBox spacing at end
This it's doing what you asked. there will be no space between the vertical scroller and the texteditor, so the small extra space untended to align the gadgets properly ended up at the end.
LAYOUT_ShrinkWrap (BOOL)
If set to TRUE, the layout group will shrink the interspacing
of the child objects to minimum. Normally all extra space (if
the total maximum size of the child objects is less than the
size of the layoutgroup) is evenly distributed between the
gadgets.
You are trying to micro manage the layout, but's not designed like that. Let the layout gadget handle the layout and just use the occasional weighted height and width to get the general layout you need.