diff options
-rw-r--r-- | res/css/main.css | 11 | ||||
-rw-r--r-- | src/components/channellist/channellist.cpp | 1 | ||||
-rw-r--r-- | src/components/channellist/classic/guildlist.cpp | 1 |
3 files changed, 13 insertions, 0 deletions
diff --git a/res/css/main.css b/res/css/main.css index ae7bf60..d29174c 100644 --- a/res/css/main.css +++ b/res/css/main.css @@ -145,3 +145,14 @@ .message-text.failed { color: red; } + +.guild-list-scroll > scrollbar { + border: none; +} + +.guild-list-scroll > scrollbar slider { + border: none; + margin: 0px; + min-width: 0px; + min-height: 0px; +} diff --git a/src/components/channellist/channellist.cpp b/src/components/channellist/channellist.cpp index 87aa6ed..076a83e 100644 --- a/src/components/channellist/channellist.cpp +++ b/src/components/channellist/channellist.cpp @@ -9,6 +9,7 @@ ChannelList::ChannelList() { m_guilds.set_halign(Gtk::ALIGN_START); + m_guilds_scroll.get_style_context()->add_class("guild-list-scroll"); m_guilds_scroll.set_policy(Gtk::POLICY_NEVER, Gtk::POLICY_AUTOMATIC); m_guilds.signal_guild_selected().connect([this](Snowflake guild_id) { diff --git a/src/components/channellist/classic/guildlist.cpp b/src/components/channellist/classic/guildlist.cpp index ae613bf..49ee87c 100644 --- a/src/components/channellist/classic/guildlist.cpp +++ b/src/components/channellist/classic/guildlist.cpp @@ -19,6 +19,7 @@ private: }; GuildList::GuildList() { + get_style_context()->add_class("guild-list"); set_selection_mode(Gtk::SELECTION_NONE); show_all_children(); } |