[haiku-commits] haiku: hrev53648 - src/kits/tracker/infowindow

  • From: waddlesplash <waddlesplash@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 22 Dec 2019 15:59:29 -0500 (EST)

hrev53648 adds 1 changeset to branch 'master'
old head: d7690f68a8b37db530181643eeedab497c4c5908
new head: 4766e7fe56a64f4893ccef0e874f460f6f00245d
overview: 
https://git.haiku-os.org/haiku/log/?qt=range&q=4766e7fe56a6+%5Ed7690f68a8b3

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

4766e7fe56a6: Tracker InfoWindow: collapse borders and make resizable
  
  Fixes #15344.
  
  Change-Id: I3560137248babb88e9475efb775675decb4d1181
  Reviewed-on: https://review.haiku-os.org/c/haiku/+/2050
  Reviewed-by: waddlesplash <waddlesplash@xxxxxxxxx>

                             [ Adrien Destugues <pulkomandy@xxxxxxxxxxxxx> ]

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

Revision:    hrev53648
Commit:      4766e7fe56a64f4893ccef0e874f460f6f00245d
URL:         https://git.haiku-os.org/haiku/commit/?id=4766e7fe56a6
Author:      Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
Date:        Sun Dec 22 13:53:12 2019 UTC
Committer:   waddlesplash <waddlesplash@xxxxxxxxx>
Commit-Date: Sun Dec 22 20:59:26 2019 UTC

Ticket:      https://dev.haiku-os.org/ticket/15344

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

3 files changed, 3 insertions(+), 2 deletions(-)
src/kits/tracker/infowindow/AttributesView.cpp | 1 +
src/kits/tracker/infowindow/HeaderView.cpp     | 2 +-
src/kits/tracker/infowindow/InfoWindow.cpp     | 2 +-

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

diff --git a/src/kits/tracker/infowindow/AttributesView.cpp 
b/src/kits/tracker/infowindow/AttributesView.cpp
index 570ff9f9e7..1bd5ab0beb 100644
--- a/src/kits/tracker/infowindow/AttributesView.cpp
+++ b/src/kits/tracker/infowindow/AttributesView.cpp
@@ -29,6 +29,7 @@ AttributesView::AttributesView(Model* model)
 {
        SetName(B_TRANSLATE("Attributes"));
        AddChild(fListView);
+       GroupLayout()->SetInsets(-1, -1, -1, -1);
 
        float nameWidth = StringWidth("SYS:PACKAGE_FILE") + 16;
        float typeMaxWidth = StringWidth(B_TRANSLATE(
diff --git a/src/kits/tracker/infowindow/HeaderView.cpp 
b/src/kits/tracker/infowindow/HeaderView.cpp
index f97d6589c8..02b4522bac 100644
--- a/src/kits/tracker/infowindow/HeaderView.cpp
+++ b/src/kits/tracker/infowindow/HeaderView.cpp
@@ -84,7 +84,7 @@ HeaderView::HeaderView(Model* model)
        fIconRect.Set(0, 0, B_LARGE_ICON - 1, B_LARGE_ICON - 1);
        // Offset taken from BAlert
        fIconRect.OffsetBy(kIconHorizOffset, kIconVertOffset);
-       SetExplicitMinSize(BSize(B_SIZE_UNSET, B_LARGE_ICON + 2 * 
kIconVertOffset));
+       SetExplicitSize(BSize(B_SIZE_UNSET, B_LARGE_ICON + 2 * 
kIconVertOffset));
 
        // The title rect
        // The magic numbers are used to properly calculate the rect so that
diff --git a/src/kits/tracker/infowindow/InfoWindow.cpp 
b/src/kits/tracker/infowindow/InfoWindow.cpp
index 50836d95c3..88413a9562 100644
--- a/src/kits/tracker/infowindow/InfoWindow.cpp
+++ b/src/kits/tracker/infowindow/InfoWindow.cpp
@@ -98,7 +98,7 @@ BInfoWindow::BInfoWindow(Model* model, int32 group_index,
        :
        BWindow(BInfoWindow::InfoWindowRect(),
                "InfoWindow", B_TITLED_WINDOW,
-               B_NOT_RESIZABLE | B_NOT_ZOOMABLE | B_AUTO_UPDATE_SIZE_LIMITS,
+               B_NOT_ZOOMABLE | B_AUTO_UPDATE_SIZE_LIMITS,
                B_CURRENT_WORKSPACE),
        fModel(model),
        fStopCalc(false),


Other related posts:

  • » [haiku-commits] haiku: hrev53648 - src/kits/tracker/infowindow - waddlesplash