Vertically aligning components in St
- From: Jason Heeris <jason heeris gmail com>
- To: gnome-shell-list <gnome-shell-list gnome org>
- Subject: Vertically aligning components in St
- Date: Sun, 3 Mar 2013 01:05:56 +1100
I've been trying to vertically align components in an St.BoxLayout
(with vertical = false), but nothing I do seems to have any affect.
I've tried setting 'vertical-align' in the CSS for a component, and
setting y_align and y_expand on both the components and the BoxLayout.
The components always end up aligned along the top edge of the
BoxLayout.
How can I vertically centre components? Or better yet, can I align
text-based components (eg. labels and text fields) along the text
baseline?
— Jason
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]