Page 1 of 2

BUTTON_AutoButton

Posted: Wed Nov 05, 2014 3:58 am
by mritter0
Could you add BAG_POPDATE to the list of built-in BUTTON_AutoButton images? A calendar image of some sort.

Re: BUTTON_AutoButton

Posted: Wed Nov 05, 2014 9:31 am
by salass00
There's a BAG_POPTIME. Have you tried using that?

Re: BUTTON_AutoButton

Posted: Thu Nov 06, 2014 3:05 am
by mritter0
That's what I am using; calendar just more accurate for what the gadget is for. I will probably switch to a PNG image down the road. Just asked for completeness.

Re: BUTTON_AutoButton

Posted: Thu Nov 06, 2014 12:56 pm
by salass00
A requirement for BAG_POPDATE is that support for GLYPH_POPDATE and an appropriate DrawList based vector image would need to be added to glyph.image first. I'd do it but I'm not sure if I can make a calendar image that will be recognisable as such.

Re: BUTTON_AutoButton

Posted: Thu Nov 06, 2014 7:51 pm
by chris
salass00 wrote:A requirement for BAG_POPDATE is that support for GLYPH_POPDATE and an appropriate DrawList based vector image would need to be added to glyph.image first. I'd do it but I'm not sure if I can make a calendar image that will be recognisable as such.
A small grid with the last line missing the last couple of squares would probably do it.

Re: BUTTON_AutoButton

Posted: Fri Nov 07, 2014 9:27 am
by salass00
chris wrote: A small grid with the last line missing the last couple of squares would probably do it.
First attempt:
Image

Good enough?

Re: BUTTON_AutoButton

Posted: Fri Nov 07, 2014 12:23 pm
by Raziel
Fits perfectly to the other buttons, if i were asked

Re: BUTTON_AutoButton

Posted: Fri Nov 07, 2014 5:45 pm
by Petrol
Nice work!
Is it possible to lock aspect ratio to avoid enlargement of the glyph inside the button?
The best would to allow to use custom graphics (vector or bitmap)!
regards,

Re: BUTTON_AutoButton

Posted: Fri Nov 07, 2014 9:47 pm
by trixie
Petrol wrote:Is it possible to lock aspect ratio to avoid enlargement of the glyph inside the button?

Code: Select all

CHILD_WeightedHeight, 0,
CHILD_WeightedWidth, 0,
/.../

Re: BUTTON_AutoButton

Posted: Sat Nov 08, 2014 8:04 pm
by mritter0
Works for me.