diff options
| author | Matthias Melcher <github@matthiasm.com> | 2024-08-27 15:13:32 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2024-08-27 15:13:32 +0200 |
| commit | ec05f78d98d8e38ea34eb1bd73647fa5b8b35f81 (patch) | |
| tree | 64768c2ff44f44200e3d9d8463924fc9450be973 /src/Fl_Window.cxx | |
| parent | 5879e7fae7d34c037f2ac02c6c7fca86c42a186d (diff) | |
Adding horiizonatl and vertical label margin
- sizeof(Fl_Widget) not increased
- label positions can be adjusted
- try it out in test/label app
- full support in FLUD
Diffstat (limited to 'src/Fl_Window.cxx')
| -rw-r--r-- | src/Fl_Window.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx index 20a39a68e..6ded79b01 100644 --- a/src/Fl_Window.cxx +++ b/src/Fl_Window.cxx @@ -526,7 +526,7 @@ void Fl_Window::draw_backdrop() { l1.image = image(); if (!active_r() && l1.image && l1.deimage) l1.image = l1.deimage; l1.type = labeltype(); - l1.spacing = 0; + l1.h_margin_ = l1.v_margin_ = l1.spacing = 0; l1.draw(0,0,w(),h(),align()); } } |
