Skip to content
Permalink
Browse files

Increase local browser ui size

  • Loading branch information...
jacob1 committed Mar 4, 2019
1 parent 3bb75ca commit d4c638869f6c456c363f6b9430ee60c3cc7c0814
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/gui/filebrowser/FileBrowserActivity.cpp
@@ -105,7 +105,7 @@ class FileBrowserActivity::SearchAction: public ui::TextboxAction
};

FileBrowserActivity::FileBrowserActivity(ByteString directory, FileSelectedCallback * callback):
WindowActivity(ui::Point(-1, -1), ui::Point(450, 300)),
WindowActivity(ui::Point(-1, -1), ui::Point(500, 350)),
callback(callback),
directory(directory),
totalFiles(0)
@@ -142,7 +142,7 @@ FileBrowserActivity::FileBrowserActivity(ByteString directory, FileSelectedCallb

buttonXOffset = 0;
buttonYOffset = 0;
buttonAreaWidth = itemList->Size.X;
buttonAreaWidth = itemList->Size.X - 5;
buttonAreaHeight = itemList->Size.Y;// - buttonYOffset - 18;
buttonWidth = (buttonAreaWidth/filesX) - buttonPadding*2;
buttonHeight = (buttonAreaHeight/filesY) - buttonPadding*2;

0 comments on commit d4c6388

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.