mirror of
https://github.com/uowuo/abaddon.git
synced 2024-11-10 06:00:10 +00:00
hide scrollbar in classic guild list
This commit is contained in:
parent
2be776b12f
commit
b92091b97d
@ -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;
|
||||
}
|
||||
|
@ -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) {
|
||||
|
@ -19,6 +19,7 @@ private:
|
||||
};
|
||||
|
||||
GuildList::GuildList() {
|
||||
get_style_context()->add_class("guild-list");
|
||||
set_selection_mode(Gtk::SELECTION_NONE);
|
||||
show_all_children();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user