mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-19 00:20:25 +02:00
More scaling fixes, frameless combo box for status bar
This commit is contained in:
parent
990d092274
commit
385fa6dbb5
10 changed files with 30 additions and 17 deletions
|
@ -27,11 +27,13 @@ namespace IDE.ui
|
|||
|
||||
public this()
|
||||
{
|
||||
mConfigComboBox = new DarkComboBox();
|
||||
mConfigComboBox = new DarkComboBox();
|
||||
mConfigComboBox.mFrameKind = .Frameless;
|
||||
mConfigComboBox.mPopulateMenuAction.Add(new => PopulateConfigMenu);
|
||||
AddWidget(mConfigComboBox);
|
||||
|
||||
mPlatformComboBox = new DarkComboBox();
|
||||
mPlatformComboBox = new DarkComboBox();
|
||||
mPlatformComboBox.mFrameKind = .Frameless;
|
||||
mPlatformComboBox.mPopulateMenuAction.Add(new => PopulatePlatformMenu);
|
||||
AddWidget(mPlatformComboBox);
|
||||
}
|
||||
|
@ -94,8 +96,8 @@ namespace IDE.ui
|
|||
void ResizeComponents()
|
||||
{
|
||||
int btnLeft = gApp.mSettings.mEnableDevMode ? GS!(380) : GS!(300);
|
||||
mConfigComboBox.Resize(mWidth - btnLeft, 0, GS!(120), mHeight + 2);
|
||||
mPlatformComboBox.Resize(mWidth - btnLeft - GS!(120), 0, GS!(120), mHeight + 2);
|
||||
mConfigComboBox.Resize(mWidth - btnLeft, GS!(0), GS!(120), GS!(24));
|
||||
mPlatformComboBox.Resize(mWidth - btnLeft - GS!(120), GS!(0), GS!(120), GS!(24));
|
||||
|
||||
if (mCancelSymSrvButton != null)
|
||||
mCancelSymSrvButton.Resize(GS!(546), 0, GS!(20), GS!(20));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue