Changeset 2a77054 in Renga


Ignore:
Timestamp:
May 8, 2024, 11:18:17 AM (12 days ago)
Author:
PulkoMandy <pulkomandy@…>
Branches:
main
Children:
a32c742
Parents:
faa13a8
Message:

Fix size of split views for roster and chat participant views

Fixes #71

Location:
ui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ui/MainWindow.cpp

    rfaa13a8 r2a77054  
    834834        _status_view = new StatusView();
    835835        _status_view->SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
     836        // Allow statusbar to be wider than the string it contains (so the roster view can resize to
     837        // wider sizes as well)
     838        _status_view->SetExplicitMaxSize(BSize(B_SIZE_UNLIMITED, B_SIZE_UNSET));
    836839
    837840        // menubar
  • ui/TalkView.cpp

    rfaa13a8 r2a77054  
    140140        _split_group_people->AddChild(_split_talk);
    141141        _split_group_people->AddChild(_scrolled_people_pane);
    142         _split_group_people->SetItemWeight(0, 5, false);
     142        _split_group_people->SetItemWeight(0, 10, false);
    143143        _split_group_people->SetItemWeight(1, 1, false);
    144144        _split_group_people->SetSpacing(0);
Note: See TracChangeset for help on using the changeset viewer.