diff options
author | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-03-29 20:10:02 +0000 |
---|---|---|
committer | Caolán McNamara <caolan.mcnamara@collabora.com> | 2024-03-30 15:09:22 +0100 |
commit | c465642781485cda41bf4bd4fd3e0c0b1c7e53da (patch) | |
tree | 51b43687e71903beab98eb87434dd93a1166304e | |
parent | 1b00c292754c529ca6615d6b39a8545f340c7f50 (diff) |
Resolves: tdf#159498 Items in Template Manager dropdown should be left-aligned
Change-Id: I72d32793814b28b7452be701f0732dbd9dbbcb37
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165559
Tested-by: Jenkins
Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
-rw-r--r-- | vcl/unx/gtk3/gtkinst.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vcl/unx/gtk3/gtkinst.cxx b/vcl/unx/gtk3/gtkinst.cxx index e535e302a09f..f966496b9ff7 100644 --- a/vcl/unx/gtk3/gtkinst.cxx +++ b/vcl/unx/gtk3/gtkinst.cxx @@ -5505,8 +5505,9 @@ public: { GtkBox *pBox = GTK_BOX(gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 6)); GtkWidget *pLabel = gtk_label_new_with_mnemonic(MapToGtkAccelerator(rStr).getStr()); + gtk_label_set_xalign(GTK_LABEL(pLabel), 0.0); pItem = eCheckRadioFalse != TRISTATE_INDET ? gtk_check_menu_item_new() : gtk_menu_item_new(); - gtk_box_pack_start(pBox, pImage, true, true, 0); + gtk_box_pack_start(pBox, pImage, false, true, 0); gtk_box_pack_start(pBox, pLabel, true, true, 0); gtk_container_add(GTK_CONTAINER(pItem), GTK_WIDGET(pBox)); gtk_widget_show_all(pItem); |