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? -- Cheers Jorge.-
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
participants (2)
-
jcid@dillo.org
-
sgeerken@dillo.org