Skip to content

Commit

Permalink
gui: fix summary hub layout for Japanese translations
Browse files Browse the repository at this point in the history
The patch makes the spoke buttons more compact vertically (same as with
other languages), making User spoke accessible without scrolling.

Resolves: rhbz#2120293
  • Loading branch information
rvykydal committed Sep 8, 2022
1 parent 6b0cd37 commit 024b7de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions widgets/src/SpokeSelector.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ static void anaconda_spoke_selector_init(AnacondaSpokeSelector *spoke) {
/* Create the status label. */
spoke->priv->status_label = gtk_label_new(_(DEFAULT_STATUS));
gtk_label_set_justify(GTK_LABEL(spoke->priv->status_label), GTK_JUSTIFY_LEFT);
gtk_label_set_line_wrap(GTK_LABEL(spoke->priv->status_label), TRUE);
gtk_label_set_xalign(GTK_LABEL(spoke->priv->status_label), 0.0);
gtk_label_set_yalign(GTK_LABEL(spoke->priv->status_label), 0.0);
gtk_label_set_ellipsize(GTK_LABEL(spoke->priv->status_label), PANGO_ELLIPSIZE_MIDDLE);
Expand Down

0 comments on commit 024b7de

Please sign in to comment.