Roassal ROPopup styleable

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Roassal ROPopup styleable

Dennis Schenk
Hi all,

I wanted to be able to style popups in Roassal e.g. using another background color or setting a border, etc. So I added a method to ROPopup to be able to acces the ROBox it uses.

The filed out class can be found here: http://cl.ly/code/3D0y0P233v1o

@Alexandre: If you like the changes, could you add them to Roassal?

Example usage would be:

popup := ROPopup text: 'test'.
popup textColor: Color black.
popup box color: Color white; borderWidth: 1; borderColor: Color lightGray.

Cheers,
Dennis

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal ROPopup styleable

Dennis Schenk
There was a bug in my code.

Here is the the filed out class with the fix: http://cl.ly/code/3q121T3m1w1G

On Tue, Oct 2, 2012 at 4:09 PM, Dennis Schenk <[hidden email]> wrote:
Hi all,

I wanted to be able to style popups in Roassal e.g. using another background color or setting a border, etc. So I added a method to ROPopup to be able to acces the ROBox it uses.

The filed out class can be found here: http://cl.ly/code/3D0y0P233v1o

@Alexandre: If you like the changes, could you add them to Roassal?

Example usage would be:

popup := ROPopup text: 'test'.
popup textColor: Color black.
popup box color: Color white; borderWidth: 1; borderColor: Color lightGray.

Cheers,
Dennis


_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Roassal ROPopup styleable

abergel
In Roassal 1.149

Cheers,
Alexandre


On Oct 2, 2012, at 11:54 AM, Dennis Schenk <[hidden email]> wrote:

> There was a bug in my code.
>
> Here is the the filed out class with the fix: http://cl.ly/code/3q121T3m1w1G
>
> On Tue, Oct 2, 2012 at 4:09 PM, Dennis Schenk <[hidden email]> wrote:
> Hi all,
>
> I wanted to be able to style popups in Roassal e.g. using another background color or setting a border, etc. So I added a method to ROPopup to be able to acces the ROBox it uses.
>
> The filed out class can be found here: http://cl.ly/code/3D0y0P233v1o
>
> @Alexandre: If you like the changes, could you add them to Roassal?
>
> Example usage would be:
>
> popup := ROPopup text: 'test'.
> popup textColor: Color black.
> popup box color: Color white; borderWidth: 1; borderColor: Color lightGray.
>
> Cheers,
> Dennis
>
> _______________________________________________
> Moose-dev mailing list
> [hidden email]
> https://www.iam.unibe.ch/mailman/listinfo/moose-dev

--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev