[Gambas-user] border.none to alternative causing size increase
Bruce Steers
bsteers4 at gmail.com
Sat Feb 27 13:42:52 CET 2021
Thanks Bruce ,
i've currently just gone for just making the font toggle underlined
(couldn't do bold as that also increased the label size lol).
I was trying to emulate the standard checkbox's focus behaviour that puts a
dotted border around the text but cleanly.
I tried background but it just wasn't pretty enough., had to settle for
font underline
Wishing well
BruceS
On Sat, 27 Feb 2021 at 12:30, Bruce <adamnt42 at gmail.com> wrote:
> 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
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210227/228e9f0c/attachment.htm>
More information about the User
mailing list