On Wednesday, 22 June 2016 at 07:57:01 UTC, TheDGuy wrote:
I am wondering if it is possible to get the name of the current
CSS-class the button is asigned to?
Very late to this party, but:
getName() does the job.
I am wondering if it is possible to get the name of the current
CSS-class the button is asigned to?
On Thursday, 16 June 2016 at 13:12:12 UTC, Gerald wrote:
It can be done fine with on the fly changes, i.e. random
colors, it's somewhat more work then just calling a simple
function call but CSS gives you a lot more power as well. I do
this in Terminix where for certain themes I want to set t
On Thursday, 16 June 2016 at 07:58:56 UTC, TheDGuy wrote:
On Wednesday, 15 June 2016 at 22:34:05 UTC, Gerald wrote:
snip...
The text color is green but the button background color is
still default-gray!
I don't see an obvious issue with your code, I usually use CSS
classes personally and I
On Wednesday, 15 June 2016 at 22:34:05 UTC, Gerald wrote:
snip...
The text color is green but the button background color is
still default-gray!
I don't see an obvious issue with your code, I usually use CSS
classes personally and I know that works fine because I use
this technique all over
On Wednesday, 15 June 2016 at 22:05:37 UTC, captaindet wrote:
but i just wanted to mention (in case you are not aware of it)
that the CSS can be embedded into the D source. this is what i
did to fix GTKs terrible design mistake for the background of
Notebook:
What a great tip, I never knew yo
On Wednesday, 15 June 2016 at 21:39:37 UTC, TheDGuy wrote:
On Wednesday, 15 June 2016 at 20:49:02 UTC, Gerald wrote:
On Wednesday, 15 June 2016 at 09:03:45 UTC, TheDGuy wrote:
Hello,
why does this code not work?
RGBA rgb = new RGBA(1,0.5,0.5,1.0);
Button btn_1 = new Button("Sta
string cssPath = "test.css";
CssProvider provider = new CssProvider();
provider.loadFromPath(cssPath);
unfortunately i don't know anything about yr specific problem.
but i just wanted to mention (in case you are not aware of it) that the
CSS can be embedded into the
On Wednesday, 15 June 2016 at 20:49:02 UTC, Gerald wrote:
On Wednesday, 15 June 2016 at 09:03:45 UTC, TheDGuy wrote:
Hello,
why does this code not work?
RGBA rgb = new RGBA(1,0.5,0.5,1.0);
Button btn_1 = new Button("Start");
btn_1.overrideBackgroundColor(StateFlags.NORMA
On Wednesday, 15 June 2016 at 09:03:45 UTC, TheDGuy wrote:
Hello,
why does this code not work?
RGBA rgb = new RGBA(1,0.5,0.5,1.0);
Button btn_1 = new Button("Start");
btn_1.overrideBackgroundColor(StateFlags.NORMAL, rgb);
The color of btn_1 just doesn't change.
https:/
10 matches
Mail list logo