(great) widget layout progress

Michael Meeks michael.meeks at suse.com
Wed Aug 22 09:16:15 PDT 2012


On Wed, 2012-08-22 at 16:36 +0100, Caolán McNamara wrote:
> Planned something of that nature, in parallel with converter utility
> thing. i.e. have converter do the simplest conversion possible to a
> GtkGrid rather than guess/assign some layout.

	Sounds sensible to me :-)

> Yeah, maybe's kendy's suggestion might be the way to go, make it a build
> time problem.

	Would work nicely I think; presumably we need some make magic for these
guys anyway to install them in some clever way.

	I wonder if creating a sub-class that you could derive from:

	class FooDialog : agen::ui::FooDialog {
	};

	that had all the Widget *m_pWidget; fluff in it ? and a suitable
pre-canned constructor table that could be size optimised later ?

> a) I'm working on a windows install to make sure it doesn't fall over
> and die under windows immediately

	Great :-)

> b) print dialog looks "busted", so some change has screwed that over.
> c) I need to stick my notes on the wiki

	So we're nearly there - exciting times indeed :-)

> So, here's a nagging concern of my own, not big enough to bother me
> greatly, but I haven't measured the size of increase due to the xml .ui
> files vs the size of reduction of the binary resource format. I presume
> that the .ui format is bigger, though its possible that the
> trivially-simple xml format I'm using for just the translations that
> maps to the single always-there en-US .ui file vs the full resource copy
> of the binary scheme offsets that a bit.

	IMHO binary hand-packed formats are always utterly worse than layering
generic compression on top of something which since we always read
linearly should be trivial.

	Can we not whack the UI files into a single .zip file ? I suspect that
would make them substantially smaller (glade produces some quite verbose
XML element-wise IIRC). [ Perhaps with a first-check (like the
images.zip accesses) to a directory tree so people can prototype their
changes in a live build ].

	Anyhow - it sounds like some impressive work,

	Good stuff,

		Michael.

-- 
michael.meeks at suse.com  <><, Pseudo Engineer, itinerant idiot



More information about the LibreOffice mailing list