Discussion:
complex button layout and bgColor
corvid
2012-12-11 01:39:52 UTC
Permalink
All of the copies of dillo that I happen to have around from the dillo3
era break on:

<body text=white bgcolor=purple>
<form>
<button style="margin-top:200px">inside</button>
</form>
</body>


I can get the purple if I add


diff -r 0c1b7af7bf72 dw/ui.cc
--- a/dw/ui.cc Mon Dec 10 22:55:07 2012 +0000
+++ b/dw/ui.cc Tue Dec 11 01:24:32 2012 +0000
@@ -285,6 +285,7 @@
layout = new Layout (createPlatform ());
setLayout (layout);
layout->setWidget (widget);
+ layout->setBgColor (widget->getStyle()->backgroundColor);
layout->connect (&layoutReceiver);
}


but I don't know how this is supposed to fit together.

Loading...