I would like to use a checkbox without text.
The problem is that the small square is left-aligned instead of centered (images: 480x800 -240 on the left, on the right 800x1280 -243, both after Scale.ScaleAll(panel, True).
The worst thing is that, not only the square is left-aligned, but the proportions between it and the text are not maintained properly (and something has also changed the monetary currency
. I'm kidding, of course)
I then thought of a simple custom view, but it would be my first, and in fact... I can not do it as I would like
.
I post ONE of the ways I 've tried. The problems are at least 3:
1) allow the use of transparent color;
2) (but this was just an oversight in the "project" designing - momentarily I wanted to simplify) would also have the extra square space, then an additional panel;
3)
the best way to simulate the Panel.GetView (since the control will be part of an "item" in a scrollview ("you can expose the base", ok Erel, but the best way to do it? I know that i can add a private Panel var in the Globals, "pointing" to the Base and put in a sub to expose it, but I'm asking for the best way for the "emulation").
Without haste, when the Big (Klaus and Erel are more "specialized", but for the graphic we are fortunate to also have other good programmers, here), I would appreciate suggestions.
Thanks
[EDIT]
I changed the attachment. Now it is slightly better.
I have noticed that the designer turns Transparent in White (or maybe in color that i used for transparency)
(choise! that fool
)