[haiku-commits] haiku: hrev54297 - src/preferences/filetypes

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 3 Jun 2020 10:01:02 -0400 (EDT)

hrev54297 adds 1 changeset to branch 'master'
old head: c47cb94a5e0f32433723a22beab176f877dddfca
new head: 3804998e4ec8bc18535a71d06aa8b8f4ddbf47b2
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=3804998e4ec8+%5Ec47cb94a5e0f

----------------------------------------------------------------------------

3804998e4ec8: Filetype add-on: Fix layout of short description
  
  The short description field needs to span all columns of
  the grid layout.
  
  Change-Id: I5b79a83c30ed886c28fe901e488ee17d9c2f2533
  Reviewed-on: https://review.haiku-os.org/c/haiku/+/2872
  Reviewed-by: waddlesplash <waddlesplash@xxxxxxxxx>

                                        [ Humdinger <humdingerb@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev54297
Commit:      3804998e4ec8bc18535a71d06aa8b8f4ddbf47b2
URL:         https://git.haiku-os.org/haiku/commit/?id=3804998e4ec8
Author:      Humdinger <humdingerb@xxxxxxxxx>
Date:        Wed Jun  3 07:59:35 2020 UTC
Committer:   waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Wed Jun  3 14:00:56 2020 UTC

----------------------------------------------------------------------------

1 file changed, 2 insertions(+), 1 deletion(-)
src/preferences/filetypes/ApplicationTypeWindow.cpp | 3 ++-

----------------------------------------------------------------------------

diff --git a/src/preferences/filetypes/ApplicationTypeWindow.cpp 
b/src/preferences/filetypes/ApplicationTypeWindow.cpp
index 4250f54cbd..b2acd3f07c 100644
--- a/src/preferences/filetypes/ApplicationTypeWindow.cpp
+++ b/src/preferences/filetypes/ApplicationTypeWindow.cpp
@@ -498,7 +498,8 @@ ApplicationTypeWindow::ApplicationTypeWindow(BPoint 
position,
                .Add(fMinorVersionControl, 4, 0, 2)
                .Add(varietyField, 6, 0, 3)
                .Add(fInternalVersionControl, 9, 0, 2)
-               .AddTextControl(fShortDescriptionControl, 0, 1)
+               .AddTextControl(fShortDescriptionControl, 0, 1,
+                       B_ALIGN_HORIZONTAL_UNSET, 1, 10)
                .Add(longLabel, 0, 2)
                .Add(scrollView, 1, 2, 10, 3)
                .SetRowWeight(3, 3);


Other related posts:

  • » [haiku-commits] haiku: hrev54297 - src/preferences/filetypes - waddlesplash