Re: [Vala] Fonts problem.



You aren't using a fixed layout, are you?
Well, I am.  :-)
My gui is very complicated with a lot of widgets and It just seemed to me
much simpler to draw everything with a fixed layout.

use HBox and VBox (and Table) to align and group your widgets, don't
position them absolutely.

The interface will adapt itself to font family and size.
If you say that the interface will adapt itself, I will probably redraw all
the interface using HBox and VBox and Table widgets...

User preferences must never be overridden by your application. Never.
Well the only thing I have overridden accept widgets position is their
colour.
I want my program look nice and I prefer it that way.
The user will have the choice to use system default colours...

Thanks a lot!

2009/10/10 Jiří Zárevúcky <zarevucky jiri gmail com>

On Sat, Oct 10, 2009 at 4:57 PM, Arkadi Viner <arkashkin gmail com> wrote:
Hello,

I want to ask you for an advice.
I have build my gui with glade and it looks pretty well on my laptop but
on
some systems it doesn't look well.

Well, you have to make it so it looks good everywhere.

The captions of labels some times don't fit in and the user sees only
partial captions and the font it self is different and some time very
ugly.

This should be handled by GTK itself. You aren't using a fixed layout, are
you?
How the font looks is not your problem to solve. That kind of opinion
is quite subjective.

So how you handle those kind of problems?

Use automatic container layout properly.

Should I provide my used fonts with the installer?  some how make the
size of fonts fixed?

No, definitely not. User preferences must never be overridden by your
application. Never.



Thanks.


You're welcome :)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]