Re: ComplexButtonResource initial size

"Sebastian Geerken" <[email protected]>
Newsgroups gmane.comp.web.dillo.devel
Message-ID <[email protected]>
On Do, Jun 16, 2016, Jorge Arellano Cid wrote:
> Hi Sebastian,
> 
>   While testing the design corrections of the parser's nesting handling,
> I noticed ComplexButtonResource takes full width as initial size.
> 
>   e.g.    A<button></button>
> 
>   I didn't find where to set its initial size.
> 
>   Would you mind giving it a look?

Has been fixed, see recent commit.

<button> is displayed as

- dw::core::ui::Embed, referring to
- dw::core::ui::ComplexButtonResource, implemented by
- dw::fltk::ui::FltkComplexButtonResource, referring to another
- dw::core::Widget (actually dw::Textblock).

Furhermore, there is another viewport (Fltk widget) between the latter
two, so that the latter widget/textblock is technically a toplevel
widget.

To make it behave similar to an inline widget, a new flag was
introduced (treatAsInline).

Sebastian

_______________________________________________
Dillo-dev mailing list
[email protected]
http://lists.dillo.org/cgi-bin/mailman/listinfo/dillo-dev
signature.asc (application/pgp-signature, 473 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJXZT/xAAoJEAw7+YHB+ZL6VKUH/02w12gHynDKOIo84F3dZ42H
4pF2AJCYeY+W71Epqm7KMORdyKvEH2AZfrT8DHveBLRM3Dn4Y/pAEuncR7EomqED
PtVJPJWudf9Woteje7k/fW3dACORJylv9qrHZKdb10F3kJ6tMUbPsRvbF8yEpHGx
SUc6SEeEQM4LllO46kMbjVJ6pjvq1pnHnIBey8HHGokBm3ln8LRhQYVAaDsg7Rbs
D8+USoWLLyv00yXJvIpPkTc85OaQP/ueH2EcZLLN8OHg1eIFZ9+xLAV/afQmLOGW
Dpmp1+RqOa1i8O1Qn4BTE2prUIkqShqPJM5rK1/yhfQrrz1741RNTxBR7MvtFAk=
=cOdk
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.