Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[platform-swt-dev] ZERO_SIZED Widgets on GTK?

Hello, 

In SWT Gtk 2, there's been a hack introduced in 2003 to deal with Zero sized widgets (ZERO_WIDTH, ZERO_HEIGHT). 

But since Gtk3.8 Zero size widgets pose a bit of an issue since hidden widgets also return a 0x0 creating some ambiguity and sizing issues.

Is there any actual use case for zero sized widgets as oppose to just hiding them? I.e does SWT support zero sized widgets and is there anyone actually using zero sized widgets instead of hiding them?

If not, then in the interest of architecture hygiene it may make sense to remove them?

--
Leo Ufimtsev | Software Engineer @ Red Hat

Back to the top