diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-03-18 17:33:27 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-18 17:33:27 +0100 |
| commit | 5c482f9d9b357e098f955351f425bc985254ff28 (patch) | |
| tree | c410588ac915886aea4bef3478a12d682bb5ad9f /fluid/Fl_Group_Type.h | |
| parent | a9fb6a979fbcf31c2405d61ea720879bd5507d02 (diff) | |
Fix and update alignment #346 (#701)
* interactive layout alignment rewritten
* interface for new alignment rules
* new alignment dialog box
* user defined layout rules added
* layout rules can be stored in projects, settings, and external files
* Valgrind verification
Diffstat (limited to 'fluid/Fl_Group_Type.h')
| -rw-r--r-- | fluid/Fl_Group_Type.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/fluid/Fl_Group_Type.h b/fluid/Fl_Group_Type.h index e8c879141..e0c52b5c9 100644 --- a/fluid/Fl_Group_Type.h +++ b/fluid/Fl_Group_Type.h @@ -137,11 +137,6 @@ public: class Fl_Tabs_Type : public Fl_Group_Type { public: - void ideal_spacing(int &x, int &y) FL_OVERRIDE { - x = 10; - fl_font(o->labelfont(), o->labelsize()); - y = fl_height() + o->labelsize() - 6; - } const char *type_name() FL_OVERRIDE {return tabs_type_name;} const char *alt_type_name() FL_OVERRIDE {return "fltk::TabGroup";} Fl_Widget *widget(int X,int Y,int W,int H) FL_OVERRIDE { @@ -152,6 +147,7 @@ public: void remove_child(Fl_Type*) FL_OVERRIDE; int pixmapID() FL_OVERRIDE { return 13; } Fl_Widget *enter_live_mode(int top=0) FL_OVERRIDE; + int is_tabs() const FL_OVERRIDE {return 1;} }; // ---- Fl_Scroll_Type ------------------------------------------------- MARK: - |
