mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
filter ctrl: don't force height
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
// ----------------------------------------------------------------------------- : Includes
|
||||
|
||||
#include <util/prec.hpp>
|
||||
#include <util/prec.hpp>
|
||||
#include <gui/control/filter_ctrl.hpp>
|
||||
#include <gui/about_window.hpp> // for HoverButton
|
||||
#include <gui/drop_down_list.hpp>
|
||||
@@ -41,7 +41,7 @@ class TextCtrlWithFocus : public wxTextCtrl {
|
||||
};
|
||||
|
||||
FilterCtrl::FilterCtrl(wxWindow* parent, int id, String const& placeholder)
|
||||
: wxControl(parent, id, wxDefaultPosition, wxSize(160,41), wxSTATIC_BORDER)
|
||||
: wxControl(parent, id, wxDefaultPosition, wxSize(160,-1), wxSTATIC_BORDER)
|
||||
, changing(false)
|
||||
, placeholder(placeholder)
|
||||
{
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
//| License: GNU General Public License 2 or later (see file COPYING) |
|
||||
//+----------------------------------------------------------------------------+
|
||||
|
||||
#ifndef HEADER_GUI_CONTROL_FILTER_CTRL
|
||||
#define HEADER_GUI_CONTROL_FILTER_CTRL
|
||||
#ifndef HEADER_GUI_CONTROL_FILTER_CTRL
|
||||
#define HEADER_GUI_CONTROL_FILTER_CTRL
|
||||
|
||||
// ----------------------------------------------------------------------------- : Includes
|
||||
|
||||
|
||||
Reference in New Issue
Block a user