mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-07-28 13:22:06 +00:00
Match UI style of object list (#9494)
* Update GUI_ObjectList.cpp * fix scaling issue on arrow * Update GUI_ObjectList.cpp * Update name column on Linux as well * Always use column width from `m_columns_width` * Always use column width from `m_columns_width` * Remove object list extra horizontal spacing on macOS * Remove object list header * Avoid negative width * Fix compile error --------- Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#include <wx/dcclient.h>
|
||||
#include <wx/debug.h>
|
||||
#include <wx/settings.h>
|
||||
#include <wx/dataview.h>
|
||||
|
||||
#include <chrono>
|
||||
|
||||
@@ -493,6 +494,9 @@ bool load_image(const std::string& filename, wxImage &image);
|
||||
bool generate_image(const std::string &filename, wxImage &image, wxSize img_size, int method = GERNERATE_IMAGE_RESIZE);
|
||||
int get_dpi_for_window(const wxWindow *window);
|
||||
|
||||
#ifdef __WXOSX__
|
||||
void dataview_remove_insets(wxDataViewCtrl* dv);
|
||||
#endif
|
||||
|
||||
}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user