Closed OhYoungJin1 closed 2 years ago
Hi,
Sorry I don't get the issue. You have an issue with the horizontal and vertical scrollers? Is something wrong with this?
Can you share a picture of what is not behaving as you expect?
Regards, Ludovic
I want the gray area to be transparent
ex)
auto list = make_shared
auto list = make_shared
list->color(Palette::ColorId::bg, Palette::transparent); --> background color is black! list->color(Palette::ColorId::bg, egt::Color(229, 229, 229)); --> background color is gray!
The issue is probably related to the widgets inside your ScrolledView
egt::TopWindow window; window.color(egt::Palette::ColorId::bg, egt::Palette::blue); egt::ScrolledView view(window, egt::Rect(0, 0, 200, 200)); egt::Frame frame(egt::Rect(egt::Point(), egt::Size(400, 400))); frame.fill_flags(egt::Theme::FillFlag::blend); frame.color(egt::Palette::ColorId::bg, egt::Palette::transparent); view.add(frame); window.show();
The issue is probably related to the widgets inside your ScrolledView ------> Everything was resolved well !!
Thank you!!!
Scroller background not transparent in ScrolledView
I found
[view.cpp 102] To prevent this situation, we force the background drawing of the ScrolledView even if fill flags are set to none.
please...