Skip to content

Commit

Permalink
Merge pull request #26452 from brave/split_view_location_bar_url_elide
Browse files Browse the repository at this point in the history
Elide split view's url at the end
  • Loading branch information
simonhong authored Nov 9, 2024
2 parents e07362f + 267d17a commit 6200501
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 6200501

Please sign in to comment.