Skip to content

Commit

Permalink
Elide split view's url at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhong committed Nov 8, 2024
1 parent 733fcdb commit 267d17a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions browser/ui/views/split_view/split_view_location_bar.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ SplitViewLocationBar::SplitViewLocationBar(PrefService* prefs,
.SetEnabledColorId(kColorBraveSplitViewUrl))
.AddChild(views::Builder<views::Label>()
.CopyAddressTo(&url_)
.SetEnabledColorId(kColorBraveSplitViewUrl)
.SetElideBehavior(gfx::ElideBehavior::ELIDE_HEAD)))
.SetEnabledColorId(kColorBraveSplitViewUrl)))
.BuildChildren();

for (auto url_part : {https_with_strike_, scheme_separator_, url_}) {
Expand Down

0 comments on commit 267d17a

Please sign in to comment.