[Gambas-user] border.none to alternative causing size increase

Bruce adamnt42 at gmail.com
Sat Feb 27 13:29:22 CET 2021


On 27/2/21 10:51 pm, Bruce Steers wrote:
> I have a problem with Borders.
> 
> I have in my app a routine that puts a border around a label when the mouse
> hovers over an object then removes the border on mouse out.
> 
> the problem is that when i go from Border.None to Border.Dotted the label
> grows and moves objects.
> 
> A border style like Border.Transparent that rendered an invisible border
> would be handy.
> then switching would retain the size.  (and possibly
> Border.TransparentThick for double borders)
> 
> or any other solution that kept my label sizes the same when
> adding/removing a border.
> 
> Thank you.
> BruceS
> 
> 
> 
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> 
Suggest you use background rather than border.
b


More information about the User mailing list