mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-05 21:42:47 -05:00
New Columns method, columns_force_same_height().
This forces two child widgets of a Columns to occupy the same amount of vertical space, and if one is really shorter than the other, vertically centres it in the extra space.
This commit is contained in:
@ -42,6 +42,7 @@ struct ColumnsChild_tag {
|
||||
GtkWidget *widget;
|
||||
gint colstart, colspan;
|
||||
gboolean force_left; /* for recalcitrant GtkLabels */
|
||||
ColumnsChild *same_height_as;
|
||||
/* Otherwise, this entry represents a change in the column setup. */
|
||||
gint ncols;
|
||||
gint *percentages;
|
||||
@ -55,6 +56,7 @@ void columns_add(Columns *cols, GtkWidget *child,
|
||||
gint colstart, gint colspan);
|
||||
void columns_taborder_last(Columns *cols, GtkWidget *child);
|
||||
void columns_force_left_align(Columns *cols, GtkWidget *child);
|
||||
void columns_force_same_height(Columns *cols, GtkWidget *ch1, GtkWidget *ch2);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Reference in New Issue
Block a user