Build 14: hide scrollbars on the goblin surface
The yellow theme exposed the egui scrollbar track as a stray dark line down the Settings column (sweep P2). The goblin surface is touch-styled, so its content scroll areas now hide the bar entirely (AlwaysHidden), matching the rest of the app and removing the artifact on every theme. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -645,6 +645,7 @@ impl GoblinWalletView {
|
||||
let data = wallet.get_data();
|
||||
ScrollArea::vertical()
|
||||
.auto_shrink([false; 2])
|
||||
.scroll_bar_visibility(egui::scroll_area::ScrollBarVisibility::AlwaysHidden)
|
||||
.show(ui, |ui| {
|
||||
// Mobile header: wordmark left, avatar (opens settings) right.
|
||||
if !wide {
|
||||
@@ -912,6 +913,7 @@ impl GoblinWalletView {
|
||||
|
||||
ScrollArea::vertical()
|
||||
.auto_shrink([false; 2])
|
||||
.scroll_bar_visibility(egui::scroll_area::ScrollBarVisibility::AlwaysHidden)
|
||||
.show(ui, |ui| {
|
||||
let items = activity_items(wallet);
|
||||
if items.is_empty() {
|
||||
@@ -1333,6 +1335,7 @@ impl GoblinWalletView {
|
||||
ui.add_space(6.0);
|
||||
ScrollArea::vertical()
|
||||
.auto_shrink([false; 2])
|
||||
.scroll_bar_visibility(egui::scroll_area::ScrollBarVisibility::AlwaysHidden)
|
||||
.show(ui, |ui| {
|
||||
// Identity: username, picture, keys — first because it is the
|
||||
// face of the wallet.
|
||||
@@ -1554,6 +1557,7 @@ impl GoblinWalletView {
|
||||
}
|
||||
ScrollArea::vertical()
|
||||
.auto_shrink([false; 2])
|
||||
.scroll_bar_visibility(egui::scroll_area::ScrollBarVisibility::AlwaysHidden)
|
||||
.show(ui, |ui| {
|
||||
let live = wallet.get_current_connection();
|
||||
let saved = wallet.get_config().connection();
|
||||
@@ -1678,6 +1682,7 @@ impl GoblinWalletView {
|
||||
}
|
||||
ScrollArea::vertical()
|
||||
.auto_shrink([false; 2])
|
||||
.scroll_bar_visibility(egui::scroll_area::ScrollBarVisibility::AlwaysHidden)
|
||||
.show(ui, |ui| {
|
||||
ui.label(
|
||||
RichText::new(
|
||||
@@ -1762,6 +1767,7 @@ impl GoblinWalletView {
|
||||
}
|
||||
ScrollArea::vertical()
|
||||
.auto_shrink([false; 2])
|
||||
.scroll_bar_visibility(egui::scroll_area::ScrollBarVisibility::AlwaysHidden)
|
||||
.show(ui, |ui| {
|
||||
ui.label(
|
||||
RichText::new(
|
||||
|
||||
Reference in New Issue
Block a user