Ticket #3505 (closed defect: fixed)

Opened 13 months ago

Last modified 13 months ago

Paint should have Stop icon aligned to the right

Reported by: HoboPrimate Owned by: godiard
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: Paint Version: 0.95.x
Severity: Unspecified Keywords:
Cc: Distribution/OS: Fedora
Bug Status: Unconfirmed

Description

So that when you have bigger screen resolutions, like in this screenshot, the Stop button is still on the right..

Attachments

Toolbar do Paint.png Download (11.1 KB) - added by HoboPrimate 13 months ago.
stop button is not right-aligned

Change History

Changed 13 months ago by HoboPrimate

stop button is not right-aligned

follow-up: ↓ 2   Changed 13 months ago by godiard

The problem is, in a xo with the normal resolution, if we add a separator, the stop button fall out of the toolbar.

in reply to: ↑ 1   Changed 13 months ago by garycmartin

Replying to godiard:

The problem is, in a xo with the normal resolution, if we add a separator, the stop button fall out of the toolbar.

See Physics activity (and maybe some others) for the fix, you need to set the size of the separator so it does not eat some min amount of toolbar space (should be doing this in all activities):

separator = gtk.SeparatorToolItem()
separator.props.draw = False
separator.set_size_request(0, -1)
separator.set_expand(True)
toolbar_box.toolbar.insert(separator, -1)
separator.show()

  Changed 13 months ago by godiard

  • status changed from new to closed
  • resolution set to fixed

Thanks Gary.

Pushed as 8beee4fa438697ca8a5b82cb1c38a862c5f893f4

Note: See TracTickets for help on using tickets.